Skip to content

Commit

Permalink
Update precommit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Dec 12, 2024
1 parent 24c16db commit a6a803c
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
USE_BAZEL_VERSION: '6.5.0'
USE_BAZEL_VERSION: '5.4.1'

steps:
- uses: actions/checkout@v3
Expand All @@ -53,29 +53,22 @@ jobs:
- name: show bazel setup
run: |
bazel --version
USE_BAZEL_VERSION=6.5.0 bazel --version
export USE_BAZEL_VERSION=6.5.0
bazel --version
- name: show bazel setup
run: |
bazel --version
- name: build-lua5.1
run: |
bazel --bazelrc=.bazelrc build --config=lua5_1 ${{ matrix.config }} //...
- name: test-lua5.1
if: (!contains(matrix.config, 'arm64'))
run: |
bazel --bazelrc=.bazelrc test --config=lua5_1 ${{ matrix.config }} --test_output=errors //...
- name: build-lua5.2
run: |
bazel --bazelrc=.bazelrc build --config=lua5_2 ${{ matrix.config }} //...
- name: test-lua5.2
if: (!contains(matrix.config, 'arm64'))
run: |
bazel --bazelrc=.bazelrc test --config=lua5_2 ${{ matrix.config }} --test_output=errors //...
# - name: build-lua5.1
# run: |
# bazel --bazelrc=.bazelrc build --config=lua5_1 ${{ matrix.config }} //...
# - name: test-lua5.1
# if: (!contains(matrix.config, 'arm64'))
# run: |
# bazel --bazelrc=.bazelrc test --config=lua5_1 ${{ matrix.config }} --test_output=errors //...

# - name: build-lua5.2
# run: |
# bazel --bazelrc=.bazelrc build --config=lua5_2 ${{ matrix.config }} //...
# - name: test-lua5.2
# if: (!contains(matrix.config, 'arm64'))
# run: |
# bazel --bazelrc=.bazelrc test --config=lua5_2 ${{ matrix.config }} --test_output=errors //...

- name: build-luajit
run: |
Expand Down

0 comments on commit a6a803c

Please sign in to comment.