Skip to content

Commit

Permalink
build: update CI to run tests on linux self hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
brianheineman committed Jan 23, 2025
1 parent 3ac160b commit 6d3a954
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- wasm32-wasi

include:
- platform: linux-arm
os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
- platform: linux-x64
os: ubuntu-latest
os: [ self-hosted, Linux, X64 ]
target: x86_64-unknown-linux-gnu
- platform: macos-arm64
os: [ self-hosted, macOS, ARM64 ]
Expand Down Expand Up @@ -62,7 +65,7 @@ jobs:
toolchain: stable

- name: Build
if: ${{ matrix.platform != 'macos-arm64' }}
if: ${{ matrix.platform != 'linux-x64' && !startsWith(matrix.os, 'macos-') }}
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -73,7 +76,7 @@ jobs:
cargo build --workspace --target ${{ matrix.target }}
- name: Tests
if: ${{ matrix.platform == 'macos-x64' }}
if: ${{ matrix.platform == 'linux-x64' || matrix.platform == 'macos-x64' }}
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit 6d3a954

Please sign in to comment.