mirror of
https://github.com/house-of-vanity/khm.git
synced 2025-07-07 15:24:07 +00:00
Update main.yml
This commit is contained in:
committed by
GitHub
parent
40a142e9c5
commit
41cc5a7bb1
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -36,7 +36,13 @@ jobs:
|
||||
run: choco install -y mingw
|
||||
- name: Install rust targets
|
||||
run: rustup target add ${{ matrix.build_target }}
|
||||
- name: Build
|
||||
- name: Build linux MUSL
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
uses: gmiam/rust-musl-action@master
|
||||
with:
|
||||
args: cargo build --target $BUILD_TARGET --release
|
||||
- name: Build MacOS and Windows
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
run: cargo build --target ${{ matrix.build_target }} --release
|
||||
- name: Strip binary on Linux and macOS
|
||||
if: matrix.os != 'windows-latest'
|
||||
|
Reference in New Issue
Block a user