Skip to content

Commit

Permalink
Another fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Nov 20, 2024
1 parent 602d499 commit 9a66abf
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9a66abf

Please sign in to comment.