@@ -180,7 +180,7 @@ jobs:
180180 -G Ninja \
181181 -S ${{ github.workspace }}
182182 - name : Build
183- run : cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Releaase
183+ run : cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Release
184184
185185 # Tar the output to preserve permissions.
186186 - name : tar output
@@ -191,6 +191,39 @@ jobs:
191191 name : linux-${{ matrix.processor }}-ds2
192192 path : ${{ github.workspace }}/BinaryCache/ds2.tar
193193
194+ freebsd :
195+ runs-on : ubuntu-latest
196+
197+ strategy :
198+ matrix :
199+ processor : [ x86_64 ]
200+
201+ steps :
202+ - uses : actions/checkout@v4
203+ with :
204+ path : ${{ github.workspace }}/SourceCache/ds2
205+
206+ - uses : vmactions/freebsd-vm@v1
207+ name : Build on FreeBSD VM
208+ with :
209+ prepare : |
210+ pkg install -y cmake bison flex ninja
211+
212+ run : |
213+ cmake -B ${{ github.workspace }}/BinaryCache/ds2 \
214+ -D CMAKE_BUILD_TYPE=Release \
215+ -D CMAKE_SYSTEM_NAME=FreeBSD \
216+ -D CMAKE_SYSTEM_PROCESSOR=${{ matrix.processor }} \
217+ -G Ninja \
218+ -S ${{ github.workspace }}/SourceCache/ds2
219+ cmake --build ${{ github.workspace }}/BinaryCache/ds2 --config Release
220+ tar -C ${{ github.workspace }}/BinaryCache -cvf ${{ github.workspace }}/BinaryCache/ds2.tar ds2
221+
222+ - uses : actions/upload-artifact@v4
223+ with :
224+ name : freebsd-${{ matrix.processor }}-ds2
225+ path : ${{ github.workspace }}/BinaryCache/ds2.tar
226+
194227 # Cross-compile for Android on a Windows host.
195228 android-windows-ndk :
196229 needs : [windows_tools]
0 commit comments