try to run cargo test on a platform with nix + macos x86_64

This commit is contained in:
Folkert 2022-12-04 21:27:38 +01:00
parent c1d3580b0f
commit eb119d7152
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -27,5 +27,11 @@ jobs:
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