Skip to content

Commit f02f7ae

Browse files
committed
ci: Removing openindiana for now. Testing matrix on variations of FreeBSD boxes
Signed-off-by: Tyler Erickson <[email protected]>
1 parent 4c5fbaf commit f02f7ae

File tree

1 file changed

+43
-23
lines changed

1 file changed

+43
-23
lines changed

.github/workflows/vagrant.yml

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,55 @@ name: CI for Vagrant Boxes
33

44
on: [push]
55
jobs:
6-
build-on-openindiana:
7-
runs-on: macos-13
8-
steps:
9-
- uses: actions/checkout@v4
10-
with:
11-
submodules: recursive
6+
# build-on-openindiana:
7+
# runs-on: macos-13
8+
# steps:
9+
# - uses: actions/checkout@v4
10+
# with:
11+
# submodules: recursive
1212

13-
- name: Install Virtualbox
14-
run: brew install --cask virtualbox
13+
# - name: Install Virtualbox
14+
# run: brew install --cask virtualbox
1515

16-
- name: Install Vagrant
17-
run: brew install --cask vagrant
16+
# - name: Install Vagrant
17+
# run: brew install --cask vagrant
1818

19-
- uses: leleliu008/github-actions-vagrant@v2
20-
with:
21-
mem: 2048
22-
box: Toasterson/omnitribblix
23-
run: |
24-
run sudo zap refresh
25-
run sudo zap install-overlay develop
26-
run sudo zap list-overlays
27-
run sudo zap install-overlay meson
28-
run sudo zap install-overlay ninja
19+
# - uses: leleliu008/github-actions-vagrant@v2
20+
# with:
21+
# mem: 2048
22+
# box: Toasterson/omnitribblix
23+
# run: |
24+
# run sudo zap refresh
25+
# run sudo zap install-overlay develop
26+
# run sudo zap list-overlays
27+
# run sudo zap install-overlay meson
28+
# run sudo zap install-overlay ninja
2929

30-
run meson setup build -Dprefix=/ -Dmandir=/man -Dbindir=/ --buildtype=release
31-
run meson install -C build
30+
# run meson setup build -Dprefix=/ -Dmandir=/man -Dbindir=/ --buildtype=release
31+
# run meson install -C build
3232

3333
build-on-freebsd:
3434
runs-on: macos-13
35+
strategy:
36+
fail-fast: false # so that if one config fails, other won't be cancelled automatically
37+
matrix:
38+
config:
39+
- {
40+
name: "FreeBSD 14",
41+
box: generic/freebsd14
42+
}
43+
- {
44+
name: "FreeBSD 13",
45+
box: generic/freebsd13
46+
}
47+
- {
48+
name: "Hardened BSD",
49+
box: generic/hardenedbsd
50+
}
51+
- {
52+
name: "DragonFly BSD",
53+
box: generic/dragonflybsd
54+
}
3555
steps:
3656
- uses: actions/checkout@v4
3757
with:
@@ -46,7 +66,7 @@ jobs:
4666
- uses: leleliu008/github-actions-vagrant@v2
4767
with:
4868
mem: 2048
49-
box: generic/freebsd14
69+
box: ${{ matrix.config.box }}
5070
run: |
5171
run pkg update
5272
run pkg install -y meson

0 commit comments

Comments
 (0)