Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,17 @@ runs:
echo "cargo_tools=$expanded" >> "$GITHUB_OUTPUT"
fi

# Note: sccache is skipped on Windows ARM64 due to missing binaries
# See: https://github.com/Mozilla-Actions/sccache-action/issues/189
- name: Configure Sccache
if: inputs.enable-sccache == 'true'
if: inputs.enable-sccache == 'true' && !(runner.os == 'Windows' && runner.arch == 'ARM64')
shell: bash
run: |
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"

- name: Start Sccache
if: inputs.enable-sccache == 'true'
if: inputs.enable-sccache == 'true' && !(runner.os == 'Windows' && runner.arch == 'ARM64')
uses: mozilla-actions/sccache-action@v0.0.9
with:
version: ${{ env.SCCACHE_VERSION }}
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm, windows-11-arm]
steps:
# prep
- name: Checkout
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm, windows-11-arm]
steps:
# prep
- name: Checkout
Expand Down Expand Up @@ -198,13 +198,22 @@ jobs:
delete: true

extended-analysis:
name: extended-analysis (${{ matrix.os }})
if: github.event_name == 'pull_request'
needs: [testing, static-analysis]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
- os: windows-11-arm
target: aarch64-pc-windows-msvc
steps:
# prep
- name: Checkout
Expand All @@ -222,7 +231,7 @@ jobs:
run: cargo +${{ env.RUST_NIGHTLY }} udeps --all-features --workspace --color always
- name: Careful
if: success() || failure()
run: cargo +${{ env.RUST_NIGHTLY }} careful nextest run --all-features --workspace --color always --target ${{ runner.os == 'Linux' && 'x86_64-unknown-linux-gnu' || 'x86_64-pc-windows-msvc' }}
run: cargo +${{ env.RUST_NIGHTLY }} careful nextest run --all-features --workspace --color always --target ${{ matrix.target }}
- name: Miri
if: success() || failure()
run: cargo +${{ env.RUST_NIGHTLY }} miri test --all-features --workspace
Expand Down Expand Up @@ -259,7 +268,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
# Note: windows-11-arm excluded due to LLVM coverage instrumentation bugs
# causing "malformed instrumentation profile data: symbol name is empty" errors
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm]
steps:
# prep
- name: Checkout
Expand Down
Loading