From a04f22c0d3f81865ea8131b419d3601535b5b8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Mon, 22 Jan 2024 20:47:55 +0100 Subject: [PATCH] Add freebsd in CI --- .github/workflows/release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8f2a5ef..d6016a5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,6 +30,12 @@ jobs: - name: Linux armv7hf target: armv7-unknown-linux-musleabihf + - name: Freebsd x86_64 + target: x86_64-unknown-freebsd + + - name: Freebsd x86 + target: i686-unknown-freebsd + # - name: Android aarch64 # target: aarch64-linux-android @@ -113,7 +119,7 @@ jobs: # We use cross-rs if not running on x86_64 architecture on Linux with: 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 }} # Mac OS