Skip to content

Commit

Permalink
GhA: Re-enable x1 in build workflow
Browse files Browse the repository at this point in the history
- Re-enable `lenovo-x1-carbon-gen11-debug` in github action build workflow
- Add `-L` option to `nix build` command to print build logs

Signed-off-by: Henri Rosten <[email protected]>
  • Loading branch information
henrirosten authored and brianmcgillion committed Mar 8, 2024
1 parent 43bdbaa commit 2284534
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
needs: [check-identity]
runs-on: ubuntu-latest
if: ${{ needs.check-identity.outputs.authorized_user == 'False' }}
environment:
environment:
${{ ( github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository &&
github.event.pull_request.head.repo.full_name != github.repository &&
'external-build-workflow' ) || ( 'internal-build-workflow' ) }}
steps:
- name: Authorize external
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
strategy:
matrix:
include:
# - arch: x86_64-linux
# target: lenovo-x1-carbon-gen11-debug
- arch: x86_64-linux
target: lenovo-x1-carbon-gen11-debug
- arch: x86_64-linux
target: nvidia-jetson-orin-agx-debug-from-x86_64
- arch: x86_64-linux
Expand Down Expand Up @@ -167,5 +167,5 @@ jobs:
echo "Running nix build, with cachix watch-exec"
cachix authtoken ${{ secrets.CACHIX_AUTH_TOKEN }}
cachix watch-exec ghaf-dev -- \
nix build .#packages.${{ matrix.arch }}.${{ matrix.target }}
nix build -L .#packages.${{ matrix.arch }}.${{ matrix.target }}
fi

0 comments on commit 2284534

Please sign in to comment.