Skip to content

Commit 4c54652

Browse files
committed
Update CI
1 parent 9b24bb2 commit 4c54652

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,12 @@ jobs:
3131
cargo build --features "${{ matrix.lua }},vendored,async,serde,macros,anyhow,userdata-wrappers,send"
3232
shell: bash
3333
- name: Build ${{ matrix.lua }} pkg-config
34-
if: ${{ matrix.os == 'ubuntu-latest' }}
34+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.lua != 'lua55' }}
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
3838
cargo build --features "${{ matrix.lua }}"
3939
40-
build_aarch64_cross_macos:
41-
name: Cross-compile to aarch64-apple-darwin
42-
runs-on: macos-latest
43-
needs: build
44-
strategy:
45-
matrix:
46-
lua: [lua55, lua54, lua53, lua52, lua51, luajit]
47-
steps:
48-
- uses: actions/checkout@main
49-
- uses: dtolnay/rust-toolchain@stable
50-
with:
51-
toolchain: stable
52-
target: aarch64-apple-darwin
53-
- name: Cross-compile
54-
run: cargo build --target aarch64-apple-darwin --features "${{ matrix.lua }},vendored,async,send,serde,macros,anyhow,userdata-wrappers"
55-
5640
build_aarch64_cross_ubuntu:
5741
name: Cross-compile to aarch64-unknown-linux-gnu
5842
runs-on: ubuntu-latest
@@ -219,7 +203,7 @@ jobs:
219203
needs: build
220204
strategy:
221205
matrix:
222-
lua: [lua55, lua54, luajit]
206+
lua: [lua54, luajit]
223207
defaults:
224208
run:
225209
shell: msys2 {0}

0 commit comments

Comments
 (0)