Skip to content

Commit 1e9aee8

Browse files
committed
[Backport] Use a different FreeBSD box for CI pipeline (#482)
1 parent 043cf69 commit 1e9aee8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@ jobs:
233233
strategy:
234234
matrix:
235235
box_freebsd:
236-
- FreeBSD-13.4-STABLE
236+
- freebsd-13
237237
build_system:
238238
- CMake
239239
compiler:
240240
- LLVM
241241
on_default_branch:
242242
- ${{ contains(github.ref, 'master') || contains(github.ref, 'develop') || contains(github.ref, 'CI') }}
243243
include:
244-
- box_freebsd: FreeBSD-14.1-STABLE
244+
- box_freebsd: freebsd-14
245245
build_system: CMake
246246
compiler: LLVM
247247
exclude:
@@ -257,18 +257,19 @@ jobs:
257257
echo "TEST_PARALLEL_LEVEL=$(nproc)" >> ${GITHUB_ENV}
258258
259259
- name: Provision VM
260-
uses: hummeltech/freebsd-vagrant-action@v3
260+
uses: hummeltech/freebsd-vagrant-action@v4
261261
with:
262-
box: freebsd/${{ matrix.box_freebsd }}
262+
box: bento/${{ matrix.box_freebsd }}
263263
cpus: ${{ env.BUILD_PARALLEL_LEVEL }}
264264
memory: 4096
265+
ssh_shell: sh
265266

266267
# Mapnik is not in the `quarterly` repository (2023.10.12)
267268
- name: Use "latest" repository
268269
run: |
269270
sudo mkdir -p /usr/local/etc/pkg/repos
270271
sed 's#/quarterly#/latest#g' /etc/pkg/FreeBSD.conf | sudo tee /usr/local/etc/pkg/repos/FreeBSD.conf
271-
sudo pkg upgrade
272+
sudo pkg upgrade --yes
272273
273274
- name: Install dependencies
274275
uses: ./.github/actions/dependencies/install

0 commit comments

Comments
 (0)