mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 05:00:59 +03:00
Merge pull request #28455 from ProvableHQ/fix/release-ci-linux-musl
[Fix] Musl CI
This commit is contained in:
commit
808ad5fbe4
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -69,7 +69,21 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
docker pull clux/muslrust:stable
|
||||
docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t clux/muslrust:stable rustup target add x86_64-unknown-linux-musl && rustup override set x86_64-unknown-linux-musl && cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig && ldd target/x86_64-unknown-linux-musl/release/leo
|
||||
docker run \
|
||||
-v ${{ github.workspace }}:/volume \
|
||||
-v cargo-cache:/root/.cargo/registry \
|
||||
--rm \
|
||||
-t clux/muslrust:stable \
|
||||
bash -c "
|
||||
rustup target add x86_64-unknown-linux-musl &&
|
||||
rustup override set x86_64-unknown-linux-musl &&
|
||||
rustup toolchain list &&
|
||||
cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig
|
||||
"
|
||||
|
||||
- name: Check Binary
|
||||
run: file target/x86_64-unknown-linux-musl/release/leo
|
||||
|
||||
- id: get_version
|
||||
uses: battila7/get-version-action@v2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user