mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 19:45:05 +08:00
Fixing the passing of environment variables
This commit is contained in:
parent
c614520405
commit
87115b02d9
16
.github/workflows/publish-crossbuild.yml
vendored
16
.github/workflows/publish-crossbuild.yml
vendored
@ -57,20 +57,24 @@ jobs:
|
||||
|
||||
- name: Configure target aarch64 GNU
|
||||
if: matrix.target == 'aarch64-unknown-linux-gnu'
|
||||
# LD gold won't work with MUSL
|
||||
env:
|
||||
JEMALLOC_SYS_WITH_LG_PAGE: 16
|
||||
RUSTFLAGS: '-Clink-arg=-fuse-ld=gold'
|
||||
## Environment variable is not passed using env:
|
||||
## LD gold won't work with MUSL
|
||||
# env:
|
||||
# JEMALLOC_SYS_WITH_LG_PAGE: 16
|
||||
# RUSTFLAGS: '-Clink-arg=-fuse-ld=gold'
|
||||
run: |
|
||||
echo '[target.aarch64-unknown-linux-gnu]' >> ~/.cargo/config
|
||||
echo 'linker = "aarch64-linux-gnu-gcc"' >> ~/.cargo/config
|
||||
echo 'JEMALLOC_SYS_WITH_LG_PAGE=16' >> $GITHUB_ENV
|
||||
echo RUSTFLAGS="-Clink-arg=-fuse-ld=gold" >> $GITHUB_ENV
|
||||
|
||||
- name: Configure target aarch64 MUSL
|
||||
if: matrix.target == 'aarch64-unknown-linux-musl'
|
||||
env:
|
||||
JEMALLOC_SYS_WITH_LG_PAGE: 16
|
||||
# env:
|
||||
# JEMALLOC_SYS_WITH_LG_PAGE: 16
|
||||
run: |
|
||||
sudo apt-get install -y musl-tools
|
||||
echo 'JEMALLOC_SYS_WITH_LG_PAGE=16' >> $GITHUB_ENV
|
||||
|
||||
- name: Configure target x86_64 MUSL
|
||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
|
Loading…
Reference in New Issue
Block a user