Build fixes

This commit is contained in:
Alexandr Bogomiakov
2025-07-23 14:54:33 +03:00
parent c23b3a8531
commit 821b3024ba
2 changed files with 11 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ jobs:
name: Build static binary
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
@@ -65,7 +66,10 @@ jobs:
uses: gmiam/rust-musl-action@master
with:
args: |
apk add --no-cache pkgconfig glib-dev gtk+3.0-dev
apk add --no-cache pkg-config glib-dev gcc g++ musl-dev gcompat libstdc++
export PKG_CONFIG_ALLOW_CROSS=1
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=/
cargo build --target ${{ matrix.build_target }} --release
- name: Build MacOS
@@ -108,6 +112,7 @@ jobs:
needs: release
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:

View File

@@ -13,6 +13,7 @@ jobs:
name: Build Check
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
@@ -59,7 +60,10 @@ jobs:
uses: gmiam/rust-musl-action@master
with:
args: |
apk add --no-cache pkgconfig glib-dev gtk+3.0-dev
apk add --no-cache pkg-config glib-dev gcc g++ musl-dev gcompat libstdc++
export PKG_CONFIG_ALLOW_CROSS=1
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=/
cargo build --target ${{ matrix.build_target }}
- name: Build MacOS