mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-16 15:41:38 +08:00
staticbuilds: Build pcre2 statically for macos
This commit is contained in:
parent
0f6e85466a
commit
1f45ab63d1
4
.github/workflows/staticbuild.yml
vendored
4
.github/workflows/staticbuild.yml
vendored
@ -68,8 +68,8 @@ jobs:
|
|||||||
rustup target add aarch64-apple-darwin
|
rustup target add aarch64-apple-darwin
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target aarch64-apple-darwin
|
PCRE2_SYS_STATIC=1 cargo build --release --target aarch64-apple-darwin
|
||||||
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin
|
PCRE2_SYS_STATIC=1 cargo build --release --target x86_64-apple-darwin
|
||||||
- name: Compress
|
- name: Compress
|
||||||
run: |
|
run: |
|
||||||
tar -cazf fish-macos-aarch64.tar.xz -C target/aarch64-apple-darwin/release/ fish{,_indent,_key_reader}
|
tar -cazf fish-macos-aarch64.tar.xz -C target/aarch64-apple-darwin/release/ fish{,_indent,_key_reader}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user