From 0bca8ced41e12aed67d3252fd5bb72d3beabbbe2 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 10 Sep 2024 12:14:27 +0200 Subject: [PATCH] ci(lua): add macos compile flags to command line --- .github/workflows/lua.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index f42cd90..1464e7b 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -53,11 +53,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: arduino/setup-protoc@v3 - # this is the extra config required for lua - - 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 + - run: cargo rustc --release --features=lua -- -C link-arg=-undefined -C link-arg=dynamic_lookup - uses: actions/upload-artifact@v4 with: name: codemp-lua-${{ matrix.platform.target }}