From 134d2a0cb4c73ddf7b07af3288768c62c8963d0c Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 4 Sep 2024 22:59:33 -0600 Subject: [PATCH] CI updates --- .github/workflows/build.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9f2dca3..ae47c5c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -141,14 +141,17 @@ jobs: - platform: windows-latest target: x86_64-pc-windows-msvc name: windows-x86_64 + build: build features: default - platform: macos-latest target: x86_64-apple-darwin name: macos-x86_64 + build: build features: default - platform: macos-latest target: aarch64-apple-darwin name: macos-arm64 + build: build features: default fail-fast: false runs-on: ${{ matrix.platform }} @@ -162,14 +165,9 @@ jobs: uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} -# - name: Setup sccache -# uses: mozilla-actions/sccache-action@v0.0.4 - name: Cargo build -# env: -# RUSTC_WRAPPER: sccache -# SCCACHE_GHA_ENABLED: "true" run: > - cargo build --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} + cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --target ${{ matrix.target }} --bin objdiff-cli --features ${{ matrix.features }} - name: Upload artifacts uses: actions/upload-artifact@v4