mirror of
https://github.com/catchorg/Catch2.git
synced 2025-02-28 08:36:24 +01:00
arm builds
This commit is contained in:
parent
914aeecfe2
commit
c589ebd9b1
27
.github/workflows/linux-bazel-builds.yml
vendored
27
.github/workflows/linux-bazel-builds.yml
vendored
@ -3,22 +3,23 @@ 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
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Mount bazel cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: "/home/runner/.cache/bazel"
|
||||
key: bazel-ubuntu22-gcc11
|
||||
- name: Mount bazel cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: "/home/runner/.cache/bazel"
|
||||
# Use the OS name in the cache key to separate caches per platform.
|
||||
key: bazel-${{ matrix.os }}-gcc11
|
||||
|
||||
- name: Build Catch2
|
||||
run: |
|
||||
bazelisk build --compilation_mode=${{matrix.compilation_mode}} //...
|
||||
- name: Build Catch2
|
||||
run: |
|
||||
bazelisk build --compilation_mode=${{ matrix.compilation_mode }} //...
|
||||
|
3
.github/workflows/linux-meson-builds.yml
vendored
3
.github/workflows/linux-meson-builds.yml
vendored
@ -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
|
||||
|
6
.github/workflows/linux-other-builds.yml
vendored
6
.github/workflows/linux-other-builds.yml
vendored
@ -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
|
||||
|
3
.github/workflows/linux-simple-builds.yml
vendored
3
.github/workflows/linux-simple-builds.yml
vendored
@ -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
|
||||
|
2
.github/workflows/mac-builds-m1.yml
vendored
2
.github/workflows/mac-builds-m1.yml
vendored
@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-14
|
||||
runs-on: macos-15
|
||||
strategy:
|
||||
matrix:
|
||||
cxx:
|
||||
|
@ -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'
|
||||
|
2
.github/workflows/validate-header-guards.yml
vendored
2
.github/workflows/validate-header-guards.yml
vendored
@ -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
|
||||
|
2
.github/workflows/windows-simple-builds.yml
vendored
2
.github/workflows/windows-simple-builds.yml
vendored
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user