1 Commits

Author SHA1 Message Date
Arthur Sonzogni
506a85d5e3 Merge 773e5eb7d2 into add5f40d31 2025-05-04 23:43:21 +00:00
5 changed files with 15 additions and 21 deletions

View File

@@ -1,2 +1 @@
build --features=layering_check build --features=layering_check
build --enable_bzlmod

View File

@@ -3,7 +3,7 @@ matrix:
# instead of --std=c++20 # instead of --std=c++20
platform: platform:
- debian11 - debian11
- ubuntu2204 - ubuntu2024
- macos - macos
- macos-arm64 - macos-arm64
- windows - windows

View File

@@ -14,30 +14,25 @@ on:
jobs: jobs:
test_bazel: test_bazel:
name: "Bazel, ${{ matrix.cxx }}, ${{ matrix.os }}" name: "Bazel, ${{ matrix.compiler }}, ${{ matrix.os }}"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
cxx: g++ compiler: g++
cc: gcc
- os: ubuntu-latest - os: ubuntu-latest
cxx: clang++ compiler: clang++
cc: clang
- os: macos-latest - os: macos-latest
cxx: g++ compiler: g++
cc: gcc
- os: macos-latest - os: macos-latest
cxx: clang++ compiler: clang++
cc: clang
- os: windows-latest - os: windows-latest
cxx: cl compiler: cl
cc: cl
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@@ -46,14 +41,12 @@ jobs:
- name: "Build with Bazel" - name: "Build with Bazel"
env: env:
CC: ${{ matrix.cc }} CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx }}
run: bazel build ... run: bazel build ...
- name: "Tests with Bazel" - name: "Tests with Bazel"
env: env:
CC: ${{ matrix.cc }} CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx }}
run: bazel test --test_output=all ... run: bazel test --test_output=all ...
test_cmake: test_cmake:

View File

@@ -348,7 +348,6 @@ Feel free to add your projects here:
- [terminal-rain](https://github.com/Oakamoore/terminal-rain) - [terminal-rain](https://github.com/Oakamoore/terminal-rain)
- [keywords](https://github.com/Oakamoore/keywords) ([Play web version :heart:](https://oakamoore.itch.io/keywords)) - [keywords](https://github.com/Oakamoore/keywords) ([Play web version :heart:](https://oakamoore.itch.io/keywords))
- [FTB - tertminal file browser](https://github.com/Cyxuan0311/FTB) - [FTB - tertminal file browser](https://github.com/Cyxuan0311/FTB)
- [SHOOT!](https://github.com/ShingZhanho/ENGG1340-Project-25Spring)
### [cpp-best-practices/game_jam](https://github.com/cpp-best-practices/game_jam) ### [cpp-best-practices/game_jam](https://github.com/cpp-best-practices/game_jam)

View File

@@ -5,9 +5,12 @@
# ------- # -------
# - Version >= 7 are supported # - Version >= 7 are supported
# - Version <= 6 fail with the error: # - Version <= 6 fail with the error:
# Error: # ERROR: Analysis of target '//:component' failed; build aborted: no such
# external/googletest~1.14.0.bcr.1/googletest/include/gtest/internal/gtest-port.h:279:2: # package '@rules_cc//cc/compiler': BUILD file not found in directory
# error: #error C++ versions less than C++14 are not supported. # 'cc/compiler' of external repository @rules_cc. Add a BUILD file to a
# directory to mark it as a package.
#
for ver in \ for ver in \
"7.0.0" \ "7.0.0" \
"8.0.0" "8.0.0"