This commit is contained in:
Pranav Gaddamadugu 2024-11-19 17:13:13 -08:00
parent 9a66abfcd0
commit 0c8f304025

View File

@ -68,16 +68,16 @@ jobs:
- name: Build - name: Build
run: | run: |
docker pull clux/muslrust:stable docker pull clux/muslrust:x86_64
docker run \ docker run \
-v ${{ github.workspace }}:/volume \ -v ${{ github.workspace }}:/volume \
-v cargo-cache:/root/.cargo/registry \ -v cargo-cache:/root/.cargo/registry \
--rm \ --rm \
-t clux/muslrust:stable \ -t clux/muslrust:x86_64 \
bash -c " bash -c "
rustup install stable &&
rustup default stable &&
rustup target add x86_64-unknown-linux-musl && 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 cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig
" "