File tree Expand file tree Collapse file tree 8 files changed +115
-1
lines changed
Expand file tree Collapse file tree 8 files changed +115
-1
lines changed Original file line number Diff line number Diff line change 1- 6.3.2
1+ 7.1.0
Original file line number Diff line number Diff line change 1+ # This file is maintained by ecsact-dev/ecsact_common
2+ # If changes are required please make them there
3+
4+ name : bzlmod archive
5+
6+ on :
7+ release :
8+ types : [published]
9+
10+ jobs :
11+ bzlmod-archive :
12+ uses : ecsact-dev/bazel_registry/.github/workflows/bzlmod-archive.yml@main
13+ secrets : inherit
14+ permissions :
15+ contents : write
Original file line number Diff line number Diff line change 1+ # This file is maintained by ecsact-dev/ecsact_common
2+ # If changes are required please make them there
3+
4+ name : main
5+
6+ on :
7+ push :
8+ branches :
9+ - " **"
10+
11+ jobs :
12+ formatting-check :
13+ name : Formatting Check
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : jidicula/clang-format-action@v4.9.0
18+ with : { clang-format-version: "16" }
19+
20+ test-windows :
21+ runs-on : windows-latest
22+ steps :
23+ - uses : actions/cache@v3
24+ with :
25+ path : |
26+ /Users/runneradmin/AppData/Local/bazelisk
27+ /Users/runneradmin/.cache/bazel-disk-cache
28+ key : ${{runner.os}}-bazel-cache
29+ - uses : actions/checkout@v4
30+ - run : bazelisk build --config=ci //...
31+ - if : ${{ hashfiles('test/MODULE.bazel') != '' }}
32+ run : bazelisk test --config=ci ...
33+ working-directory : test
34+
35+ test-linux :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/cache@v3
39+ with :
40+ path : |
41+ ~/.cache/bazelisk
42+ ~/.cache/bazel-disk-cache
43+ key : ${{runner.os}}-bazel-cache
44+ - uses : actions/checkout@v4
45+ - run : bazelisk build --config=ci //...
46+ - if : ${{ hashfiles('test/MODULE.bazel') != '' }}
47+ run : bazelisk test --config=ci ...
48+ working-directory : test
Original file line number Diff line number Diff line change 1+ config_setting (
2+ name = "compiler_emscripten" ,
3+ flag_values = {"@bazel_tools//tools/cpp:compiler" : "emscripten" },
4+ )
Original file line number Diff line number Diff line change 1+ startup --windows_enable_symlinks
2+ common --enable_bzlmod
3+ common --registry=https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main
4+ common --registry=https://raw.githubusercontent.com/bazelboost/registry/main
5+ common --registry=https://bcr.bazel.build
6+ build --enable_platform_specific_config
7+ build --incompatible_enable_cc_toolchain_resolution
8+ build --incompatible_strict_action_env
9+ build --enable_runfiles
10+ build --noincompatible_remove_rule_name_parameter
11+ query --noincompatible_remove_rule_name_parameter
12+
13+ # Temporary until https://github.com/grailbio/bazel-toolchain/pull/198 is merged
14+ build:linux --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux
15+
16+ common:ci --announce_rc
17+ common:ci --verbose_failures
18+ common:ci --keep_going
19+ common:ci --disk_cache=~/.cache/bazel-disk-cache
Original file line number Diff line number Diff line change 1+ load ("@bazel_skylib//lib:selects.bzl" , "selects" )
2+
3+ # Ecsact repositories currently only support clang, cl, and emscripten
4+ copts = selects .with_or ({
5+ (Label ("//bazel:compiler_emscripten" )): [
6+ "-std=c++20" ,
7+ ],
8+ ("@rules_cc//cc/compiler:clang" ): [
9+ "-std=c++20" ,
10+ "-fexperimental-library" ,
11+ ],
12+ ("@rules_cc//cc/compiler:msvc-cl" , "@rules_cc//cc/compiler:clang-cl" ): [
13+ "/std:c++20" ,
14+ "/permissive-" ,
15+ "/Zc:preprocessor" ,
16+ ],
17+ })
Original file line number Diff line number Diff line change 1+ pre_bump_hooks = [
2+ # Ecsact pre 1.0.0 the 0.X.0 is our 'major' version
3+ " buildozer 'set version {{version}}' 'set compatibility_level {{version.minor}}' //MODULE.bazel:%module" ,
4+ ]
5+
16post_bump_hooks = [
27 " git push" ,
38 " git push origin {{version}}" ,
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ " github>ecsact-dev/renovate-config"
5+ ]
6+ }
You can’t perform that action at this time.
0 commit comments