ci(lua): add macos compile flags to command line

This commit is contained in:
əlemi 2024-09-10 12:14:27 +02:00
parent e05e273ee2
commit 0bca8ced41
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -53,11 +53,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v3 - uses: arduino/setup-protoc@v3
# this is the extra config required for lua - run: cargo rustc --release --features=lua -- -C link-arg=-undefined -C link-arg=dynamic_lookup
- run: mkdir .cargo
- run: echo '${{ vars.MLUA_CARGO_CONFIG_EXTRA_SETTINGS }}' > .cargo/config.toml
# TODO can we make it prettier?
- run: cargo build --release --features=lua
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: codemp-lua-${{ matrix.platform.target }} name: codemp-lua-${{ matrix.platform.target }}