Don't statically build binaries
This commit is contained in:
parent
d836ee63fc
commit
98e1f270ef
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-gnu
|
||||||
artifact_name: osc-triggers-linux
|
artifact_name: osc-triggers-linux
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
target: x86_64-pc-windows-gnu
|
target: x86_64-pc-windows-gnu
|
||||||
|
@ -33,13 +33,9 @@ jobs:
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y libx11-dev libxtst-dev libudev-dev libinput-dev musl musl-dev pkg-config musl-tools
|
sudo apt install -y libx11-dev libxtst-dev libudev-dev libinput-dev
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --target ${{ matrix.target }}
|
run: cargo build --release --target ${{ matrix.target }}
|
||||||
env:
|
|
||||||
RUSTFLAGS: -C target-feature=+crt-static
|
|
||||||
PKG_CONFIG_SYSROOT_DIR: /
|
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue