X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild_freebsd.yml;fp=.github%2Fworkflows%2Fbuild_freebsd.yml;h=cb791887104ec597ab086933431097731b60ae51;hb=7ce1d3ab787a4cec24649eff37f5eaab58750332;hp=0000000000000000000000000000000000000000;hpb=f5591e75b24a7fce77cf4f8bc3f84e46a716a89a;p=summerhack diff --git a/.github/workflows/build_freebsd.yml b/.github/workflows/build_freebsd.yml new file mode 100644 index 0000000..cb79188 --- /dev/null +++ b/.github/workflows/build_freebsd.yml @@ -0,0 +1,45 @@ +name: FreeBSD build + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + + runs-on: macos-12 + + steps: + - uses: actions/checkout@v3 + + - name: cache datafiles + id: cache-data + uses: actions/cache@v3 + with: + path: data + key: data-cache1 + + + - name: download datafiles + run: | + wget http://nuclear.mutantstargoat.com/sw/demos/summerhack-data.tar.gz + tar xzvf summerhack-data.tar.gz + + - name: FreeBSD build + uses: vmactions/freebsd-vm@v0 + with: + run: | + pkg install -y gmake mesa-libs sdl + gmake + + - uses: actions/upload-artifact@v3 + with: + name: summerhack-freebsd + path: | + data/ + sumhack-thelab + 3dengfx.conf + demoscript + +# vi:ts=2 sts=2 sw=2 expandtab: