Debian Codegraph @

.github/workflows/freebsd_cmake.yml

raw
1 name: freebsd_cmake
2
3 on:
4 workflow_dispatch:
5
6 permissions: read-all
7
8 jobs:
9 freebsd_cmake:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v4
13 - name: FreeBSD-with-cmake
14 uses: cross-platform-actions/[email protected]
15 with:
16 operating_system: freebsd
17 sync_files: runner-to-vm
18 version: '14.0'
19 run: |
20 uname -a
21 freebsd-version
22 echo $SHELL
23 sudo pkg install -y python3 bash cmake ninja pkgconf
24 sudo pkg install -y gmake binutils lzlib zstd
25 mkdir builddir && cd builddir
26 cmake -G Ninja -DDO_TESTING=YES -DBUILD_NON_SHARED=YES -DBUILD_SHARED=NO -DBUILD_DWARFEXAMPLE=ON ../CMakeLists.txt
27 ninja
28 ninja test
29