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'
|
if: matrix.thing == 'aarch64-linux'
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: rustup target add ${{ matrix.target }}
|
- 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: |
|
run: |
|
||||||
for FEATURE in lua53 lua52 lua51 luajit; do
|
for FEATURE in lua53 lua52 lua51 luajit; do
|
||||||
echo "Building $FEATURE"
|
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
|
done
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Build (Lua 5.3/5.2/5.1 and LuaJIT via pkg-config)
|
- 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)
|
- name: Run tests (Lua 5.3 vendored)
|
||||||
run: cargo test --release --no-default-features --features "lua53 vendored"
|
run: cargo test --release --no-default-features --features "lua53 vendored"
|
||||||
shell: bash
|
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)
|
- name: Run tests (Lua 5.2 vendored)
|
||||||
run: cargo test --release --no-default-features --features "lua52 vendored"
|
run: cargo test --release --no-default-features --features "lua52 vendored"
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Run tests (Lua 5.1 vendored)
|
- name: Run tests (Lua 5.1 vendored)
|
||||||
run: cargo test --release --no-default-features --features "lua51 vendored"
|
run: cargo test --release --no-default-features --features "lua51 vendored"
|
||||||
shell: bash
|
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)
|
- name: Run tests (LuaJIT vendored)
|
||||||
run: cargo test --release --no-default-features --features "luajit vendored"
|
run: cargo test --release --no-default-features --features "luajit vendored"
|
||||||
shell: bash
|
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)
|
- name: Run compile test (Lua 5.3)
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
|
|
Loading…
Reference in New Issue