Don't statically build binaries

This commit is contained in:
Gabriel Simmer 2023-04-25 11:51:39 +01:00
parent d836ee63fc
commit 98e1f270ef
Signed by: arch
GPG key ID: C81B106D46C5B875

View file

@ -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: |