Skip to content

Commit c98d946

Browse files
authored
Use a different FreeBSD box for CI pipeline (openstreetmap#482)
1 parent ab7e9bd commit c98d946

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,15 +232,15 @@ jobs:
232232
strategy:
233233
matrix:
234234
box_freebsd:
235-
- FreeBSD-13.4-STABLE
235+
- freebsd-13
236236
build_system:
237237
- CMake
238238
compiler:
239239
- LLVM
240240
on_default_branch:
241241
- ${{ contains(github.ref, 'master') || contains(github.ref, 'develop') || contains(github.ref, 'CI') }}
242242
include:
243-
- box_freebsd: FreeBSD-14.1-STABLE
243+
- box_freebsd: freebsd-14
244244
build_system: CMake
245245
compiler: LLVM
246246
exclude:
@@ -256,18 +256,19 @@ jobs:
256256
echo "TEST_PARALLEL_LEVEL=$(nproc)" >> ${GITHUB_ENV}
257257
258258
- name: Provision VM
259-
uses: hummeltech/freebsd-vagrant-action@v3
259+
uses: hummeltech/freebsd-vagrant-action@v4
260260
with:
261-
box: freebsd/${{ matrix.box_freebsd }}
261+
box: bento/${{ matrix.box_freebsd }}
262262
cpus: ${{ env.BUILD_PARALLEL_LEVEL }}
263263
memory: 4096
264+
ssh_shell: sh
264265

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

0 commit comments

Comments
 (0)