mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
try to run cargo test
on a platform with nix + macos x86_64
This commit is contained in:
parent
c1d3580b0f
commit
eb119d7152
8
.github/workflows/nix_macos_x86_64.yml
vendored
8
.github/workflows/nix_macos_x86_64.yml
vendored
@ -22,10 +22,16 @@ jobs:
|
||||
- uses: cachix/install-nix-action@v15
|
||||
|
||||
# to cache nix packages
|
||||
- uses: cachix/cachix-action@v10
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: enigmaticsunrise
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
||||
- name: make a libapp.so
|
||||
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 test --release --locked
|
||||
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user