cleanup CI, fix unrecognized --strip

This commit is contained in:
Anton-4 2023-09-27 11:36:43 +02:00 committed by Brendan Hansknecht
parent 82a6c4e519
commit 90865c6b51
No known key found for this signature in database
GPG Key ID: 0EA784685083E75B
4 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,5 @@
on:
pull_request:
#pull_request:
name: Macos x86-64 rust tests
@ -22,10 +22,6 @@ jobs:
- name: set LLVM_SYS_160_PREFIX
run: echo "LLVM_SYS_160_PREFIX=$(brew --prefix llvm@16)" >> $GITHUB_ENV
- run: echo $LLVM_SYS_160_PREFIX
- run: ls $LLVM_SYS_160_PREFIX
- name: Update PATH to use zig 11
run: |
echo "PATH=/Users/username1/Downloads/zig-macos-x86_64-0.11.0:$PATH" >> $GITHUB_ENV

View File

@ -1,5 +1,5 @@
on:
#pull_request:
pull_request:
name: Nix linux x86_64 cargo test

View File

@ -295,7 +295,7 @@ pub fn build_zig_host_wasm32(
"wasm32-wasi",
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli_testing_examples/benchmarks/platform/host.ll",
"-fPIC",
"--strip",
"-fstrip",
]);
if matches!(opt_level, OptLevel::Optimize) {
@ -1212,7 +1212,7 @@ fn link_wasm32(
&format!("glue::{}", find_zig_glue_path().to_str().unwrap()),
"--deps",
"glue",
"--strip",
"-fstrip",
"-O",
"ReleaseSmall",
// useful for debugging

View File

@ -1669,7 +1669,7 @@ mod test {
"app.zig",
"-target",
"x86_64-windows-gnu",
"--strip",
"-fstrip",
"-rdynamic",
"-OReleaseFast",
])
@ -1707,7 +1707,7 @@ mod test {
"-target",
"x86_64-windows-gnu",
"-rdynamic",
"--strip",
"-fstrip",
"-rdynamic",
"-OReleaseFast",
]);
@ -1929,7 +1929,7 @@ mod test {
"-target",
"x86_64-windows-gnu",
"-rdynamic",
"--strip",
"-fstrip",
"-OReleaseFast",
]);