mirror of
https://github.com/house-of-vanity/khm.git
synced 2025-08-21 14:27:14 +00:00
Build fixes
This commit is contained in:
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
|||||||
name: Build static binary
|
name: Build static binary
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
include:
|
include:
|
||||||
@@ -65,7 +66,10 @@ jobs:
|
|||||||
uses: gmiam/rust-musl-action@master
|
uses: gmiam/rust-musl-action@master
|
||||||
with:
|
with:
|
||||||
args: |
|
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
|
cargo build --target ${{ matrix.build_target }} --release
|
||||||
|
|
||||||
- name: Build MacOS
|
- name: Build MacOS
|
||||||
@@ -108,6 +112,7 @@ jobs:
|
|||||||
needs: release
|
needs: release
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
include:
|
include:
|
||||||
|
6
.github/workflows/ui-build-check.yml
vendored
6
.github/workflows/ui-build-check.yml
vendored
@@ -13,6 +13,7 @@ jobs:
|
|||||||
name: Build Check
|
name: Build Check
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
include:
|
include:
|
||||||
@@ -59,7 +60,10 @@ jobs:
|
|||||||
uses: gmiam/rust-musl-action@master
|
uses: gmiam/rust-musl-action@master
|
||||||
with:
|
with:
|
||||||
args: |
|
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 }}
|
cargo build --target ${{ matrix.build_target }}
|
||||||
|
|
||||||
- name: Build MacOS
|
- name: Build MacOS
|
||||||
|
Reference in New Issue
Block a user