Include async build/test to github workflow
This commit is contained in:
parent
ef06c5eec9
commit
db5ad6bc60
|
@ -48,11 +48,11 @@ jobs:
|
|||
if: matrix.thing == 'aarch64-linux'
|
||||
shell: bash
|
||||
- run: rustup target add ${{ matrix.target }}
|
||||
- name: Build (Lua 5.3/5.2/5.1 and LuaJIT vendored)
|
||||
- name: Build (Lua 5.3/5.2/5.1 and LuaJIT vendored+async)
|
||||
run: |
|
||||
for FEATURE in lua53 lua52 lua51 luajit; do
|
||||
echo "Building $FEATURE"
|
||||
cargo build --target ${{ matrix.target }} --release --no-default-features --features "$FEATURE vendored"
|
||||
cargo build --target ${{ matrix.target }} --release --no-default-features --features "$FEATURE vendored async"
|
||||
done
|
||||
shell: bash
|
||||
- name: Build (Lua 5.3/5.2/5.1 and LuaJIT via pkg-config)
|
||||
|
@ -76,15 +76,24 @@ jobs:
|
|||
- name: Run tests (Lua 5.3 vendored)
|
||||
run: cargo test --release --no-default-features --features "lua53 vendored"
|
||||
shell: bash
|
||||
- name: Run tests (Lua 5.3 vendored+async)
|
||||
run: cargo test --release --no-default-features --features "lua53 vendored async"
|
||||
shell: bash
|
||||
- name: Run tests (Lua 5.2 vendored)
|
||||
run: cargo test --release --no-default-features --features "lua52 vendored"
|
||||
shell: bash
|
||||
- name: Run tests (Lua 5.1 vendored)
|
||||
run: cargo test --release --no-default-features --features "lua51 vendored"
|
||||
shell: bash
|
||||
- name: Run tests (Lua 5.1 vendored+async)
|
||||
run: cargo test --release --no-default-features --features "lua51 vendored async"
|
||||
shell: bash
|
||||
- name: Run tests (LuaJIT vendored)
|
||||
run: cargo test --release --no-default-features --features "luajit vendored"
|
||||
shell: bash
|
||||
- name: Run tests (LuaJIT vendored+async)
|
||||
run: cargo test --release --no-default-features --features "luajit vendored async"
|
||||
shell: bash
|
||||
- name: Run compile test (Lua 5.3)
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
|
|
Loading…
Reference in New Issue