mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-14 07:45:04 +00:00
cleanup CI, fix unrecognized --strip
This commit is contained in:
parent
82a6c4e519
commit
90865c6b51
4 changed files with 7 additions and 11 deletions
6
.github/workflows/macos_x86_64.yml
vendored
6
.github/workflows/macos_x86_64.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
on:
|
on:
|
||||||
pull_request:
|
#pull_request:
|
||||||
|
|
||||||
name: Macos x86-64 rust tests
|
name: Macos x86-64 rust tests
|
||||||
|
|
||||||
|
@ -22,10 +22,6 @@ jobs:
|
||||||
- name: set LLVM_SYS_160_PREFIX
|
- name: set LLVM_SYS_160_PREFIX
|
||||||
run: echo "LLVM_SYS_160_PREFIX=$(brew --prefix llvm@16)" >> $GITHUB_ENV
|
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
|
- name: Update PATH to use zig 11
|
||||||
run: |
|
run: |
|
||||||
echo "PATH=/Users/username1/Downloads/zig-macos-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
|
echo "PATH=/Users/username1/Downloads/zig-macos-x86_64-0.11.0:$PATH" >> $GITHUB_ENV
|
||||||
|
|
2
.github/workflows/nix_linux_x86_64.yml
vendored
2
.github/workflows/nix_linux_x86_64.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
on:
|
on:
|
||||||
#pull_request:
|
pull_request:
|
||||||
|
|
||||||
name: Nix linux x86_64 cargo test
|
name: Nix linux x86_64 cargo test
|
||||||
|
|
||||||
|
|
|
@ -295,7 +295,7 @@ pub fn build_zig_host_wasm32(
|
||||||
"wasm32-wasi",
|
"wasm32-wasi",
|
||||||
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli_testing_examples/benchmarks/platform/host.ll",
|
// "-femit-llvm-ir=/home/folkertdev/roc/roc/crates/cli_testing_examples/benchmarks/platform/host.ll",
|
||||||
"-fPIC",
|
"-fPIC",
|
||||||
"--strip",
|
"-fstrip",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if matches!(opt_level, OptLevel::Optimize) {
|
if matches!(opt_level, OptLevel::Optimize) {
|
||||||
|
@ -1212,7 +1212,7 @@ fn link_wasm32(
|
||||||
&format!("glue::{}", find_zig_glue_path().to_str().unwrap()),
|
&format!("glue::{}", find_zig_glue_path().to_str().unwrap()),
|
||||||
"--deps",
|
"--deps",
|
||||||
"glue",
|
"glue",
|
||||||
"--strip",
|
"-fstrip",
|
||||||
"-O",
|
"-O",
|
||||||
"ReleaseSmall",
|
"ReleaseSmall",
|
||||||
// useful for debugging
|
// useful for debugging
|
||||||
|
|
|
@ -1669,7 +1669,7 @@ mod test {
|
||||||
"app.zig",
|
"app.zig",
|
||||||
"-target",
|
"-target",
|
||||||
"x86_64-windows-gnu",
|
"x86_64-windows-gnu",
|
||||||
"--strip",
|
"-fstrip",
|
||||||
"-rdynamic",
|
"-rdynamic",
|
||||||
"-OReleaseFast",
|
"-OReleaseFast",
|
||||||
])
|
])
|
||||||
|
@ -1707,7 +1707,7 @@ mod test {
|
||||||
"-target",
|
"-target",
|
||||||
"x86_64-windows-gnu",
|
"x86_64-windows-gnu",
|
||||||
"-rdynamic",
|
"-rdynamic",
|
||||||
"--strip",
|
"-fstrip",
|
||||||
"-rdynamic",
|
"-rdynamic",
|
||||||
"-OReleaseFast",
|
"-OReleaseFast",
|
||||||
]);
|
]);
|
||||||
|
@ -1929,7 +1929,7 @@ mod test {
|
||||||
"-target",
|
"-target",
|
||||||
"x86_64-windows-gnu",
|
"x86_64-windows-gnu",
|
||||||
"-rdynamic",
|
"-rdynamic",
|
||||||
"--strip",
|
"-fstrip",
|
||||||
"-OReleaseFast",
|
"-OReleaseFast",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue