mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-07-25 15:04:30 +00:00
Use a different FreeBSD box for CI pipeline (#482)
This commit is contained in:
11
.github/workflows/build-and-test.yml
vendored
11
.github/workflows/build-and-test.yml
vendored
@ -232,7 +232,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
box_freebsd:
|
||||
- FreeBSD-13.4-STABLE
|
||||
- freebsd-13
|
||||
build_system:
|
||||
- CMake
|
||||
compiler:
|
||||
@ -240,7 +240,7 @@ jobs:
|
||||
on_default_branch:
|
||||
- ${{ contains(github.ref, 'master') || contains(github.ref, 'develop') || contains(github.ref, 'CI') }}
|
||||
include:
|
||||
- box_freebsd: FreeBSD-14.1-STABLE
|
||||
- box_freebsd: freebsd-14
|
||||
build_system: CMake
|
||||
compiler: LLVM
|
||||
exclude:
|
||||
@ -256,18 +256,19 @@ jobs:
|
||||
echo "TEST_PARALLEL_LEVEL=$(nproc)" >> ${GITHUB_ENV}
|
||||
|
||||
- name: Provision VM
|
||||
uses: hummeltech/freebsd-vagrant-action@v3
|
||||
uses: hummeltech/freebsd-vagrant-action@v4
|
||||
with:
|
||||
box: freebsd/${{ matrix.box_freebsd }}
|
||||
box: bento/${{ matrix.box_freebsd }}
|
||||
cpus: ${{ env.BUILD_PARALLEL_LEVEL }}
|
||||
memory: 4096
|
||||
ssh_shell: sh
|
||||
|
||||
# Mapnik is not in the `quarterly` repository (2023.10.12)
|
||||
- name: Use "latest" repository
|
||||
run: |
|
||||
sudo mkdir -p /usr/local/etc/pkg/repos
|
||||
sed 's#/quarterly#/latest#g' /etc/pkg/FreeBSD.conf | sudo tee /usr/local/etc/pkg/repos/FreeBSD.conf
|
||||
sudo pkg upgrade
|
||||
sudo pkg upgrade --yes
|
||||
|
||||
- name: Install dependencies
|
||||
uses: ./.github/actions/dependencies/install
|
||||
|
Reference in New Issue
Block a user