From 609ddb965f87d80391e8b87c16c06883f0a38970 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Wed, 18 Sep 2024 14:59:59 +0200 Subject: [PATCH] ci: use `rustup` on Darwin Signed-off-by: Roman Volosatovs --- .github/workflows/west.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/west.yml b/.github/workflows/west.yml index 781c3f2..fa6c6c9 100644 --- a/.github/workflows/west.yml +++ b/.github/workflows/west.yml @@ -60,11 +60,11 @@ jobs: runs-on: ${{ matrix.config.os }} steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: ./.github/actions/install-nix - with: - cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix build -L - - run: nix run -L --inputs-from . 'nixpkgs#coreutils' -- --coreutils-prog=cp -RLv ./result artifact + - run: rustup show + - uses: Swatinem/rust-cache@v2.7.3 + - run: cargo build -p west-sys --release + - run: mkdir -p artifact/lib + - run: mv target/release/libwest_sys.a artifact/lib/libwest_sys.a - uses: actions/upload-artifact@v4 with: name: west-${{ matrix.config.target }}