Skip to content

Commit

Permalink
chore: sync with ecsact_common
Browse files Browse the repository at this point in the history
  • Loading branch information
seaubot committed Mar 28, 2024
1 parent f3f6fc2 commit a3f94a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.2
7.1.0
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jidicula/clang-format-action@v4.9.0
with: { clang-format-version: "16" }
- uses: jidicula/clang-format-action@v4.11.0
with: { clang-format-version: "18" }

test-windows:
runs-on: windows-latest
steps:
- uses: wasmerio/setup-wasmer@v2
- uses: ecsact-dev/[email protected]
- uses: actions/cache@v3
with:
path: |
/Users/runneradmin/AppData/Local/bazelisk
/Users/runneradmin/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: bazelisk --output_user_root=C:/tmp build --config=ci //...
- run: bazelisk build --config=ci //...
- if: ${{ hashfiles('test/MODULE.bazel') != '' }}
run: bazelisk --output_user_root=C:/tmp test --config=ci ...
run: bazelisk test --config=ci ...
working-directory: test

test-linux:
runs-on: ubuntu-latest
steps:
- uses: wasmerio/setup-wasmer@v2
- uses: ecsact-dev/[email protected]
- uses: actions/cache@v3
with:
path: |
Expand Down
1 change: 0 additions & 1 deletion bazel/common.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ common --registry=https://raw.githubusercontent.com/ecsact-dev/bazel_registry/ma
common --registry=https://raw.githubusercontent.com/bazelboost/registry/main
common --registry=https://bcr.bazel.build
build --enable_platform_specific_config
build --incompatible_use_platforms_repo_for_constraints
build --incompatible_enable_cc_toolchain_resolution
build --incompatible_strict_action_env
build --enable_runfiles
Expand Down
2 changes: 1 addition & 1 deletion bazel/copts.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@bazel_skylib//lib:selects.bzl", "selects")

# Ecsact repositories currently only support clang and cl
# Ecsact repositories currently only support clang, cl, and emscripten
copts = selects.with_or({
(Label("//bazel:compiler_emscripten")): [
"-std=c++20",
Expand Down

0 comments on commit a3f94a3

Please sign in to comment.