mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
ccbe92110e
It was erroring and I think it may not actually speed thigns up, so I'm trying out removing it.
32 lines
885 B
YAML
32 lines
885 B
YAML
on: [pull_request]
|
|
|
|
name: Nix macOS x86_64 cargo test
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
nix-macos-x86-64:
|
|
name: nix-macos-x86-64
|
|
runs-on: [macos-12]
|
|
timeout-minutes: 90
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
clean: "true"
|
|
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
- name: execute cli_run tests only, the full tests take too long but are run nightly
|
|
run: nix develop -c cargo test --locked --release -p roc_cli
|
|
|
|
- name: make a libapp.so for the next step
|
|
run: nix develop -c cargo run -- gen-stub-lib examples/platform-switching/rocLovesRust.roc
|
|
|
|
- name: check that the platform`s produced dylib is loadable
|
|
run: cd examples/platform-switching/rust-platform && nix develop -c cargo test --release --locked
|