diff --git a/.cirrus.yml b/.cirrus.yml index b188205..a56c10a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,6 +1,6 @@ freebsd_task: freebsd_instance: - image_family: freebsd-14-0 + image_family: freebsd-14-3 install_script: | pkg install -y cmake pw groupadd testgrp diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 2102c42..348523a 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -157,49 +157,49 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} # Optional: Legacy compilers via Docker -# legacy-compilers: -# name: "Docker ${{ matrix.compiler }} ${{ matrix.version }}" -# runs-on: ubuntu-latest -# strategy: -# fail-fast: false -# matrix: -# include: -# # GCC 5.5 is minimum supported version -# - compiler: gcc -# version: 5 -# - compiler: gcc -# version: 6 -# - compiler: gcc -# version: 7 -# - compiler: gcc -# version: 8 -# # Clang 6 is minimum supported version -# - compiler: clang -# version: 6 -# - compiler: clang -# version: 7 -# - compiler: clang -# version: 8 -# - compiler: clang -# version: 9 -# -# container: -# image: ${{ matrix.compiler == 'gcc' && format('gcc:{0}', matrix.version) || format('silkeh/clang:{0}', matrix.version) }} -# -# steps: -# - uses: actions/checkout@v4 -# -# - name: Install CMake and Ninja -# run: | -# apt-get update -# apt-get install -y cmake ninja-build -# -# - name: Configure -# run: | -# cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=Release -# -# - name: Build -# run: cmake --build build -# -# - name: Test -# run: cd build && ctest --output-on-failure \ No newline at end of file + legacy-compilers: + name: "Docker ${{ matrix.compiler }} ${{ matrix.version }}" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + # GCC 5.5 is minimum supported version + - compiler: gcc + version: 5 + - compiler: gcc + version: 6 + - compiler: gcc + version: 7 + - compiler: gcc + version: 8 + # Clang 6 is minimum supported version + - compiler: clang + version: 6 + - compiler: clang + version: 7 + - compiler: clang + version: 8 + - compiler: clang + version: 9 + + container: + image: ${{ matrix.compiler == 'gcc' && format('gcc:{0}', matrix.version) || format('silkeh/clang:{0}', matrix.version) }} + + steps: + - uses: actions/checkout@v4 + + - name: Install CMake and Ninja + run: | + apt-get update + apt-get install -y cmake ninja-build + + - name: Configure + run: | + cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=Release + + - name: Build + run: cmake --build build + + - name: Test + run: cd build && ctest --output-on-failure \ No newline at end of file