workflow second try (with target)

This commit is contained in:
WanderingPenwing 2024-07-22 16:24:02 +02:00
parent 7be73ba7f9
commit cdf0ab5074

View file

@ -21,7 +21,7 @@ jobs:
matrix: matrix:
target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl] target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: Set up Rust - name: Set up Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
@ -29,6 +29,9 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- name: Install target
run: rustup target add ${{ matrix.target }}
- name: Compile the app - name: Compile the app
run: | run: |
cargo build --release --target ${{ matrix.target }} cargo build --release --target ${{ matrix.target }}