CI updates

This commit is contained in:
Luke Street 2024-09-04 22:59:33 -06:00
parent 1051a01735
commit 134d2a0cb4
1 changed files with 4 additions and 6 deletions

View File

@ -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