mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-23 00:39:35 +03:00
28 lines
657 B
YAML
28 lines
657 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
|
|
env:
|
|
FORCE_COLOR: 1
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
clean: "true"
|
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
with:
|
|
xcode-version: '13.3' # this uses swift 5.6 which matches with the installed MacOSX12.3.sdk
|
|
|
|
- name: setup dependencies with nix, build and test
|
|
run: nix develop -c cargo test --locked --release --no-run |