mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-23 00:39:35 +03:00
27 lines
688 B
YAML
27 lines
688 B
YAML
on: [pull_request]
|
|
|
|
name: Nix M1 cargo test
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
nix-m1:
|
|
name: nix-m1
|
|
runs-on: [self-hosted, macOS, ARM64]
|
|
timeout-minutes: 90
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
clean: "true"
|
|
|
|
- name: setup dependencies with nix and build the tests
|
|
run: nix develop -c cargo test --locked --release --no-run
|
|
|
|
- name: execute tests with guaranteed success
|
|
run: nix develop -c cargo test --locked --release --no-fail-fast || true # || true to return a successful exit code so that test failures can be observed
|