mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
ci(lua): build with luajit
This commit is contained in:
parent
de9c424e2f
commit
c2df2341c4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/lua.yml
vendored
4
.github/workflows/lua.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- run: cargo build --release --features=luajit
|
||||
- run: mv target/release/${{ matrix.platform.pre}}codemp.${{ matrix.platform.ext }} dist/lua/codemp-lua-${{ matrix.platform.target }}.${{ matrix.platform.ext }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo rustc --release --features=lua -- -C link-arg=-undefined -C link-arg=dynamic_lookup
|
||||
- run: cargo rustc --release --features=luajit -- -C link-arg=-undefined -C link-arg=dynamic_lookup
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: codemp-lua-${{ matrix.platform.target }}
|
||||
|
|
Loading…
Reference in a new issue