cb791887104ec597ab086933431097731b60ae51
[summerhack] / .github / workflows / build_freebsd.yml
1 name: FreeBSD build
2
3 on:
4   push:
5   pull_request:
6   workflow_dispatch:
7
8 jobs:
9   build:
10
11     runs-on: macos-12
12
13     steps:
14     - uses: actions/checkout@v3
15
16     - name: cache datafiles
17       id: cache-data
18       uses: actions/cache@v3
19       with:
20         path: data
21         key: data-cache1
22
23         
24     - name: download datafiles
25       run: |
26         wget http://nuclear.mutantstargoat.com/sw/demos/summerhack-data.tar.gz
27         tar xzvf summerhack-data.tar.gz
28
29     - name: FreeBSD build
30       uses: vmactions/freebsd-vm@v0
31       with:
32         run: |
33           pkg install -y gmake mesa-libs sdl
34           gmake
35
36     - uses: actions/upload-artifact@v3
37       with:
38         name: summerhack-freebsd
39         path: |
40           data/
41           sumhack-thelab
42           3dengfx.conf
43           demoscript
44
45 # vi:ts=2 sts=2 sw=2 expandtab: