File tree Expand file tree Collapse file tree 3 files changed +50
-1
lines changed Expand file tree Collapse file tree 3 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 18
18
uses : vmactions/openbsd-vm@v1
19
19
with :
20
20
prepare : |
21
- pkg_add -v cmake ninja git python bash
21
+ pkg_add -v cmake ninja bash
22
22
run : |
23
23
git clone --depth=1 https://codeberg.org/OpenBSD/ports.git /usr/ports
24
24
sync : ' rsync'
34
34
cd ${{ github.workspace }}
35
35
CI_CONFIG="ci/configs/openbsd.bash" bash ci/scripts/ci.sh
36
36
37
+ build-freebsd :
38
+ runs-on : ubuntu-latest
39
+ name : build • freebsd
40
+ defaults :
41
+ run :
42
+ shell : freebsd {0}
43
+ steps :
44
+ - uses : actions/checkout@v5
45
+
46
+ - name : Start FreeBSD VM
47
+ uses : vmactions/freebsd-vm@v1
48
+ with :
49
+ prepare : |
50
+ pkg install -y cmake ninja bash capnproto
51
+ sync : ' rsync'
52
+ copyback : false
53
+
54
+ - name : Run CI script
55
+ run : |
56
+ cd ${{ github.workspace }}
57
+ CI_CONFIG="ci/configs/freebsd.bash" bash ci/scripts/ci.sh
58
+
59
+ build-macos :
60
+ runs-on : macos-latest
61
+ name : build • macos
62
+
63
+ steps :
64
+ - uses : actions/checkout@v5
65
+
66
+ - name : Install dependencies
67
+ env :
68
+ HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK : 1
69
+ run : |
70
+ brew install --quiet cmake ninja capnp
71
+
72
+ - name : Run CI script
73
+ run : |
74
+ CI_CONFIG="ci/configs/macos.bash" bash ci/scripts/ci.sh
75
+
37
76
build :
38
77
runs-on : ubuntu-latest
39
78
Original file line number Diff line number Diff line change
1
+ CI_DESC=" CI config for FreeBSD"
2
+ CI_DIR=build-freebsd
3
+ export CXXFLAGS=" -Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter"
4
+ CMAKE_ARGS=(-G Ninja)
5
+ BUILD_ARGS=(-k 0)
Original file line number Diff line number Diff line change
1
+ CI_DESC=" CI config for macOS"
2
+ CI_DIR=build-macos
3
+ export CXXFLAGS=" -Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter"
4
+ CMAKE_ARGS=(-G Ninja)
5
+ BUILD_ARGS=(-k 0)
You can’t perform that action at this time.
0 commit comments