Add freebsd in CI
This commit is contained in:
parent
782fbbc04d
commit
a04f22c0d3
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
@ -30,6 +30,12 @@ jobs:
|
||||||
- name: Linux armv7hf
|
- name: Linux armv7hf
|
||||||
target: armv7-unknown-linux-musleabihf
|
target: armv7-unknown-linux-musleabihf
|
||||||
|
|
||||||
|
- name: Freebsd x86_64
|
||||||
|
target: x86_64-unknown-freebsd
|
||||||
|
|
||||||
|
- name: Freebsd x86
|
||||||
|
target: i686-unknown-freebsd
|
||||||
|
|
||||||
# - name: Android aarch64
|
# - name: Android aarch64
|
||||||
# target: aarch64-linux-android
|
# target: aarch64-linux-android
|
||||||
|
|
||||||
|
@ -113,7 +119,7 @@ jobs:
|
||||||
# We use cross-rs if not running on x86_64 architecture on Linux
|
# We use cross-rs if not running on x86_64 architecture on Linux
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
use-cross: ${{ !contains(matrix.platform.target, 'x86_64') }}
|
use-cross: ${{ !contains(matrix.platform.target, 'x86_64') || contains(matrix.platform.target, 'freebsd') }}
|
||||||
args: ${{ env.BUILD_ARGS }} --target ${{ matrix.platform.target }}
|
args: ${{ env.BUILD_ARGS }} --target ${{ matrix.platform.target }}
|
||||||
|
|
||||||
# Mac OS
|
# Mac OS
|
||||||
|
|
Loading…
Reference in a new issue