Skip to content

Commit

Permalink
ci: use nix build -L on Darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 18, 2024
1 parent 025008f commit 3b41be4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@ jobs:
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix profile install --inputs-from . '.#rust'
- uses: Swatinem/[email protected]
- run: cargo build -p west-sys --release
- run: mkdir -p artifact/lib
- run: mv target/release/libwest_sys.a artifact/lib/libwest_sys.a
- run: nix build -L
- run: nix run -L --inputs-from . 'nixpkgs#coreutils' -- --coreutils-prog=cp -RLv ./result artifact
- uses: actions/upload-artifact@v4
with:
name: west-${{ matrix.config.target }}
Expand Down

0 comments on commit 3b41be4

Please sign in to comment.