summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml')
-rw-r--r--src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml b/src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml
new file mode 100644
index 0000000..a2e676f
--- /dev/null
+++ b/src/contrib/SDL-2.30.2/.github/workflows/cpactions.yml
@@ -0,0 +1,51 @@
1name: Build (C/P Actions)
2
3on: [push, pull_request]
4
5jobs:
6 freebsd:
7 runs-on: ubuntu-latest
8 name: FreeBSD
9 timeout-minutes: 30
10 steps:
11 - uses: actions/checkout@v4
12 - name: Build
13 uses: cross-platform-actions/action@v0.23.0
14 with:
15 operating_system: freebsd
16 version: '13.2'
17 shell: bash
18 run: |
19 sudo pkg update
20 sudo pkg install -y \
21 gmake \
22 pkgconf \
23 libXcursor \
24 libXext \
25 libXinerama \
26 libXi \
27 libXfixes \
28 libXrandr \
29 libXScrnSaver \
30 libXxf86vm \
31 wayland \
32 wayland-protocols \
33 libxkbcommon \
34 mesa-libs \
35 libglvnd \
36 evdev-proto \
37 libinotify \
38 alsa-lib \
39 jackit \
40 pipewire \
41 pulseaudio \
42 sndio \
43 dbus \
44 zh-fcitx \
45 ibus \
46 libudev-devd
47 mkdir build_autotools
48 export CPPFLAGS="-I/usr/local/include"
49 export LDFLAGS="-L/usr/local/lib"
50 (cd build_autotools && ../configure --disable-static)
51 gmake -C build_autotools -j`sysctl -n hw.ncpu` V=1