mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-29 22:33:40 +08:00
staticbuilds: Make mac builds statically linked
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
This is the default on musl, but not other libcen
This commit is contained in:
parent
6b1a9ef7ce
commit
774b7c7b5b
4
.github/workflows/staticbuild.yml
vendored
4
.github/workflows/staticbuild.yml
vendored
|
@ -64,8 +64,8 @@ jobs:
|
|||
rustup target add aarch64-apple-darwin
|
||||
- name: Build
|
||||
run: |
|
||||
cargo build --release --target aarch64-apple-darwin
|
||||
cargo build --release --target x86_64-apple-darwin
|
||||
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target aarch64-apple-darwin
|
||||
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin
|
||||
- name: Compress
|
||||
run: |
|
||||
tar -cazf fish-macos-aarch64.tar.xz -C target/aarch64-apple-darwin/release/ fish{,_indent,_key_reader}
|
||||
|
|
Loading…
Reference in New Issue
Block a user