Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- ubuntu-24.04-riscv
Comment thread
ChanTsune marked this conversation as resolved.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
os:
- ubuntu-latest
- ubuntu-22.04-arm # TODO: use ubuntu-24.04-arm if https://github.com/rust-lang/rust/issues/135867 resolved
- ubuntu-24.04-riscv
- windows-latest
- windows-11-arm
- macos-latest
Expand All @@ -44,7 +45,7 @@ jobs:
- stable
- beta
- nightly
timeout-minutes: 60
timeout-minutes: ${{ contains(matrix.os, 'riscv') && 120 || 60 }}
runs-on: ${{ matrix.os }}
steps:
- name: git autocrlf false
Expand All @@ -56,7 +57,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y libacl1-dev
sudo apt install -y cmake libacl1-dev
- name: Install Rustup
if: ${{ matrix.os == 'windows-11-arm' }}
shell: pwsh
Expand Down Expand Up @@ -87,10 +88,12 @@ jobs:
key: "${{ matrix.os }}-${{ steps.install_rust.outputs.version }}-${{ hashFiles('**/Cargo.lock') }}"
restore-keys: "${{ matrix.os }}-${{ steps.install_rust.outputs.version }}"
- name: run test
shell: bash
run: |
cargo hack test --locked --release --feature-powerset --exclude-features wasm --exclude portable-network-archive-fuzz --exclude xtask -- --test-threads=1
cargo hack test --locked --release --feature-powerset --exclude-features "$EXCLUDE_FEATURES" --exclude portable-network-archive-fuzz --exclude xtask -- --test-threads=1
env:
RUST_BACKTRACE: 1
EXCLUDE_FEATURES: ${{ contains(matrix.os, 'riscv') && 'wasm,zlib-ng' || 'wasm' }}
Comment thread
ChanTsune marked this conversation as resolved.
- name: Save rust build cache
if: github.ref_name == github.event.repository.default_branch && steps.restore-rust-build-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
Expand Down Expand Up @@ -190,7 +193,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y libacl1-dev
sudo apt install -y cmake libacl1-dev
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
Expand Down
Loading