mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
wasm 32 cli run fixes, added to ci tests
This commit is contained in:
parent
8f8e6bebeb
commit
54d0bc43b2
2 changed files with 6 additions and 0 deletions
3
.github/workflows/nix_linux_x86_64.yml
vendored
3
.github/workflows/nix_linux_x86_64.yml
vendored
|
@ -21,3 +21,6 @@ jobs:
|
|||
|
||||
- name: execute tests with --release
|
||||
run: /home/big-ci-user/.nix-profile/bin/nix develop -c cargo test --locked --release
|
||||
|
||||
- name: test wasm32 cli_run
|
||||
run: /home/big-ci-user/.nix-profile/bin/nix develop -c cargo test --locked --release --features="wasm32-cli-run"
|
||||
|
|
|
@ -763,6 +763,8 @@ mod cli_run {
|
|||
flags: &[&str],
|
||||
expected_ending: &str,
|
||||
) {
|
||||
use super::{TARGET_FLAG, CMD_BUILD, run_roc, concatcp};
|
||||
|
||||
let mut flags = flags.to_vec();
|
||||
flags.push(concatcp!(TARGET_FLAG, "=wasm32"));
|
||||
|
||||
|
@ -771,6 +773,7 @@ mod cli_run {
|
|||
.iter()
|
||||
.chain(flags.as_slice()),
|
||||
&[],
|
||||
&[],
|
||||
);
|
||||
if !compile_out.stderr.is_empty() {
|
||||
panic!("{}", compile_out.stderr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue