CMake: Bump maximum policy version to 4.2 #250
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: 0BSD | |
| name: FreeBSD | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| FreeBSD: | |
| strategy: | |
| matrix: | |
| include: | |
| - host: ubuntu-latest | |
| version: 12.4 | |
| arch: x86_64 | |
| - host: ubuntu-latest | |
| version: 15.0 | |
| arch: x86_64 | |
| # NOTE: Comment in the repo says that aarch64 VM is faster | |
| # on x86_64 host compared to ubuntu-24.04-arm. | |
| # - host: ubuntu-24.04-arm | |
| # version: 15.0 | |
| # arch: aarch64 | |
| runs-on: ${{ matrix.host }} | |
| timeout-minutes: 10 | |
| name: FreeBSD | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Test in FreeBSD | |
| uses: vmactions/freebsd-vm@670398e4236735b8b65805c3da44b7a511fb8b27 #v1.3.0 | |
| with: | |
| release: ${{ matrix.release }} | |
| arch: ${{ matrix.arch }} | |
| usesh: true | |
| prepare: > | |
| pkg install -y | |
| autoconf | |
| automake | |
| gettext-tools | |
| libtool | |
| m4 | |
| po4a | |
| run: | | |
| set -e | |
| uname -a | |
| ./autogen.sh | |
| ./configure --disable-static --enable-debug --enable-werror | |
| make -j4 check |