mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 16:12:42 +08:00
Address @robinlinden comments.
This commit is contained in:
parent
773e5eb7d2
commit
f917f7bcc8
1
.bazelrc
1
.bazelrc
@ -1 +1,2 @@
|
|||||||
build --features=layering_check
|
build --features=layering_check
|
||||||
|
build --enable_bzlmod
|
||||||
|
@ -3,7 +3,7 @@ matrix:
|
|||||||
# instead of --std=c++20
|
# instead of --std=c++20
|
||||||
platform:
|
platform:
|
||||||
- debian11
|
- debian11
|
||||||
- ubuntu2024
|
- ubuntu2204
|
||||||
- macos
|
- macos
|
||||||
- macos-arm64
|
- macos-arm64
|
||||||
- windows
|
- windows
|
||||||
|
23
.github/workflows/build.yaml
vendored
23
.github/workflows/build.yaml
vendored
@ -14,25 +14,30 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
test_bazel:
|
test_bazel:
|
||||||
name: "Bazel, ${{ matrix.compiler }}, ${{ matrix.os }}"
|
name: "Bazel, ${{ matrix.cxx }}, ${{ matrix.os }}"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
compiler: g++
|
cxx: g++
|
||||||
|
cc: gcc
|
||||||
|
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
compiler: clang++
|
cxx: clang++
|
||||||
|
cc: clang
|
||||||
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
compiler: g++
|
cxx: g++
|
||||||
|
cc: gcc
|
||||||
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
compiler: clang++
|
cxx: clang++
|
||||||
|
cc: clang
|
||||||
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
compiler: cl
|
cxx: cl
|
||||||
|
cc: cl
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@ -41,12 +46,14 @@ jobs:
|
|||||||
|
|
||||||
- name: "Build with Bazel"
|
- name: "Build with Bazel"
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.cc }}
|
||||||
|
CXX: ${{ matrix.cxx }}
|
||||||
run: bazel build ...
|
run: bazel build ...
|
||||||
|
|
||||||
- name: "Tests with Bazel"
|
- name: "Tests with Bazel"
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.cc }}
|
||||||
|
CXX: ${{ matrix.cxx }}
|
||||||
run: bazel test --test_output=all ...
|
run: bazel test --test_output=all ...
|
||||||
|
|
||||||
test_cmake:
|
test_cmake:
|
||||||
|
@ -5,12 +5,9 @@
|
|||||||
# -------
|
# -------
|
||||||
# - Version >= 7 are supported
|
# - Version >= 7 are supported
|
||||||
# - Version <= 6 fail with the error:
|
# - Version <= 6 fail with the error:
|
||||||
# ERROR: Analysis of target '//:component' failed; build aborted: no such
|
# Error:
|
||||||
# package '@rules_cc//cc/compiler': BUILD file not found in directory
|
# external/googletest~1.14.0.bcr.1/googletest/include/gtest/internal/gtest-port.h:279:2:
|
||||||
# 'cc/compiler' of external repository @rules_cc. Add a BUILD file to a
|
# error: #error C++ versions less than C++14 are not supported.
|
||||||
# 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user