From c2df2341c453cf4fa40c3213f9a17f6c1583b39b Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 10 Sep 2024 14:38:52 +0200 Subject: [PATCH] ci(lua): build with luajit --- .github/workflows/lua.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 1464e7b..bcfe159 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -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 }}