arm builds

This commit is contained in:
Johnny 2025-02-03 14:36:43 +01:00
parent 914aeecfe2
commit c589ebd9b1
8 changed files with 27 additions and 21 deletions

View File

@ -3,21 +3,22 @@ name: Bazel build
on: [push, pull_request]
jobs:
build_and_test_ubuntu:
name: Linux Ubuntu 22.04 Bazel build <GCC 11.2.0>
runs-on: ubuntu-22.04
build_and_test:
name: Linux Ubuntu Bazel build <GCC 11.2.0>
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
compilation_mode: [fastbuild, dbg, opt]
steps:
- uses: actions/checkout@v4
- name: Mount bazel cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "/home/runner/.cache/bazel"
key: bazel-ubuntu22-gcc11
# Use the OS name in the cache key to separate caches per platform.
key: bazel-${{ matrix.os }}-gcc11
- name: Build Catch2
run: |

View File

@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
build:
name: meson ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm ]
cxx:
- g++-11
- clang++-11

View File

@ -8,9 +8,10 @@ on: [push, pull_request]
jobs:
build:
name: ${{matrix.build_description}}, ${{matrix.cxx}}, C++${{matrix.std}} ${{matrix.build_type}}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm ]
# We add builds one by one in this case, because there are no
# dimensions that are shared across the builds
include:
@ -105,9 +106,10 @@ jobs:
run: ctest -C ${{matrix.build_type}} -j `nproc` ${{matrix.other_ctest_args}}
clang-tidy:
name: clang-tidy ${{matrix.version}}, ${{matrix.build_description}}, C++${{matrix.std}} ${{matrix.build_type}}
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm ]
include:
- version: "15"
build_description: all

View File

@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
build:
name: ${{matrix.cxx}}, C++${{matrix.std}}, ${{matrix.build_type}}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm ]
cxx:
- g++-5
- g++-6

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
runs-on: macos-14
runs-on: macos-15
strategy:
matrix:
cxx:

View File

@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
conan_builds:
name: Conan ${{matrix.conan_version}}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, ubuntu-22.04-arm]
conan_version:
- '1.63'
- '2.1'

View File

@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build:
# Set the type of machine to run on
runs-on: ubuntu-20.04
runs-on: [ubuntu-22.04, ubuntu-22.04-arm]
steps:
- name: Checkout source code

View File

@ -8,7 +8,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [windows-2019, windows-2022]
os: [windows-2019, windows-2022, windows-2025]
platform: [Win32, x64]
build_type: [Debug, Release]
std: [14, 17]