Skip to content

Commit a4db14e

Browse files
committed
WIP
1 parent 0947443 commit a4db14e

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

.github/workflows/precommit.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ jobs:
2929
- { name: 'Linux GCC', os: 'ubuntu-22.04', cc: gcc-12, cxx: g++-12, config: }
3030
- { name: 'Linux LLVM+libstdc++', os: 'ubuntu-22.04', cc: clang, cxx: clang++, config: --linkopt=-fuse-ld=lld }
3131
- { name: 'Linux LLVM+libc++', os: 'ubuntu-22.04', cc: clang, cxx: clang++, config: --config=libc++ --linkopt=-fuse-ld=lld }
32-
- { name: 'MacOS 12 x86_64 LLVM+libc++', os: 'macos-12', cc: clang, cxx: clang++, config: --config=libc++ --config=macos }
33-
- { name: 'MacOS 13 x86_64 LLVM+libc++', os: 'macos-13', cc: clang, cxx: clang++, config: --config=libc++ --config=macos }
34-
- { name: 'MacOS 12 ARM64 LLVM+libc++', os: 'macos-12', cc: clang, cxx: clang++, config: --config=libc++ --config=macos_arm64 }
35-
- { name: 'MacOS 13 ARM64 LLVM+libc++', os: 'macos-13', cc: clang, cxx: clang++, config: --config=libc++ --config=macos_arm64 }
32+
- { name: 'MacOS 13 x86_64 LLVM+libc++', os: 'macos-14', cc: clang, cxx: clang++, config: --config=libc++ --config=macos }
33+
- { name: 'MacOS 13 ARM64 LLVM+libc++', os: 'macos-14', cc: clang, cxx: clang++, config: --config=libc++ --config=macos_arm64 }
3634

3735
env:
3836
CC: ${{ matrix.cc }}
3937
CXX: ${{ matrix.cxx }}
38+
USE_BAZEL_VERSION: '7.4.1'
4039

4140
steps:
4241
- uses: actions/checkout@v3
@@ -48,24 +47,28 @@ jobs:
4847
sudo ln -s /usr/lib/llvm-10/include/c++/v1 /usr/include/c++/v1
4948
5049
- name: install infrastructure (MacOS)
51-
if: matrix.os == 'macos-12' || matrix.os == 'macos-13'
50+
if: matrix.os == 'macos-13'
5251
run: sudo -H pip3 install numpy packaging
5352

54-
- name: build-lua5.1
53+
- name: show bazel setup
5554
run: |
56-
bazel --bazelrc=.bazelrc build --config=lua5_1 ${{ matrix.config }} //...
57-
- name: test-lua5.1
58-
if: (!contains(matrix.config, 'arm64'))
59-
run: |
60-
bazel --bazelrc=.bazelrc test --config=lua5_1 ${{ matrix.config }} --test_output=errors //...
55+
bazel --version
6156
62-
- name: build-lua5.2
63-
run: |
64-
bazel --bazelrc=.bazelrc build --config=lua5_2 ${{ matrix.config }} //...
65-
- name: test-lua5.2
66-
if: (!contains(matrix.config, 'arm64'))
67-
run: |
68-
bazel --bazelrc=.bazelrc test --config=lua5_2 ${{ matrix.config }} --test_output=errors //...
57+
# - name: build-lua5.1
58+
# run: |
59+
# bazel --bazelrc=.bazelrc build --config=lua5_1 ${{ matrix.config }} //...
60+
# - name: test-lua5.1
61+
# if: (!contains(matrix.config, 'arm64'))
62+
# run: |
63+
# bazel --bazelrc=.bazelrc test --config=lua5_1 ${{ matrix.config }} --test_output=errors //...
64+
65+
# - name: build-lua5.2
66+
# run: |
67+
# bazel --bazelrc=.bazelrc build --config=lua5_2 ${{ matrix.config }} //...
68+
# - name: test-lua5.2
69+
# if: (!contains(matrix.config, 'arm64'))
70+
# run: |
71+
# bazel --bazelrc=.bazelrc test --config=lua5_2 ${{ matrix.config }} --test_output=errors //...
6972

7073
- name: build-luajit
7174
run: |

0 commit comments

Comments
 (0)