Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ARM Mac to the CI pool #976

Merged
merged 2 commits into from
Nov 22, 2024
Merged
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
11 changes: 10 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: cargo bench

bench-macos:
runs-on: [self-hosted, macOS]
runs-on: [self-hosted, macOS, X64]
steps:
- uses: actions/checkout@v4
- name: Build Alan
Expand All @@ -49,3 +49,12 @@ jobs:
run: cargo build --verbose
- name: Rust-managed Benchmarks
run: cargo bench

bench-arm-macos:
runs-on: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v4
- name: Build Alan
run: cargo build --verbose
- name: Rust-managed Benchmarks
run: cargo bench
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Run tests
run: npm test
test-js-gpgpu:
runs-on: [self-hosted, macOS]
runs-on: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v4
- name: Install deps
Expand Down
26 changes: 25 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: cargo run --release -- test --js alan/test.ln

test-macos:
runs-on: [self-hosted, macOS]
runs-on: [self-hosted, macOS, X64]
steps:
- uses: actions/checkout@v4
- name: Node deps
Expand Down Expand Up @@ -86,3 +86,27 @@ jobs:
run: cargo run --release -- test alan/test.ln
- name: Run js tests
run: cargo run --release -- test --js alan/test.ln

test-arm-macos:
runs-on: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v4
- name: Node deps
run: yarn
- name: Start web server
run: yarn start-server
- name: Build
run: cargo build --verbose
- if: ${{ github.ref_name == 'main' }}
name: Run tests
run: RUST_MIN_STACK=8388608 cargo test --verbose -- --include-ignored
- if: ${{ github.ref_name != 'main' }}
name: Run tests
run: RUST_MIN_STACK=8388608 cargo test --verbose
- if: always()
name: Stop web server
run: yarn stop-server
- name: Run native tests
run: cargo run --release -- test alan/test.ln
- name: Run js tests
run: cargo run --release -- test --js alan/test.ln
Loading