mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-07-24 05:01:14 +08:00
Update workflow.
This commit is contained in:
parent
f69adb605a
commit
d6006d3475
17
.github/workflows/build.yaml
vendored
17
.github/workflows/build.yaml
vendored
@ -12,7 +12,7 @@ on:
|
||||
jobs:
|
||||
|
||||
test_bazel:
|
||||
name: "Bazel tests"
|
||||
name: "Test Bazel"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
run: bazel run tests
|
||||
|
||||
test_cmake:
|
||||
name: "CMake tests"
|
||||
name: "Tests CMake"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -104,19 +104,6 @@ jobs:
|
||||
gcovr: "5.0"
|
||||
opencppcoverage: true
|
||||
|
||||
- name: "Install Bazel"
|
||||
uses: bazel-contrib/setup-bazel@0.14.0
|
||||
with:
|
||||
bazelisk-cache: true
|
||||
disk-cache: ${{ github.workflow }}
|
||||
repository-cache: true
|
||||
|
||||
- name: "Build with Bazel"
|
||||
run: bazel build ...
|
||||
|
||||
- name: "Tests with Bazel"
|
||||
run: bazel run tests
|
||||
|
||||
# make sure coverage is only enabled for Debug builds, since it sets -O0
|
||||
# to make sure coverage has meaningful results
|
||||
- name: "Configure CMake"
|
||||
|
10
MODULE.bazel
10
MODULE.bazel
@ -13,8 +13,8 @@ bazel_dep(name = "bazel_skylib", version = "1.7.1")
|
||||
bazel_dep(name = "googletest", version = "1.15.2")
|
||||
|
||||
# Toolchain deps.
|
||||
#cc_configure = use_extension(
|
||||
#"@rules_cc//bzlmod:extensions.bzl",
|
||||
#"cc_configure",
|
||||
#)
|
||||
#use_repo(cc_configure, "local_config_cc_toolchains")
|
||||
cc_configure = use_extension(
|
||||
"@rules_cc//bzlmod:extensions.bzl",
|
||||
"cc_configure",
|
||||
)
|
||||
use_repo(cc_configure, "local_config_cc_toolchains")
|
||||
|
Loading…
Reference in New Issue
Block a user