mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci(lua): re-enable macos runner
This commit is contained in:
parent
a17c0e0ba5
commit
73f6ed7c8e
1 changed files with 26 additions and 26 deletions
50
.github/workflows/lua.yml
vendored
50
.github/workflows/lua.yml
vendored
|
@ -37,36 +37,36 @@ jobs:
|
||||||
|
|
||||||
# macos requires some extra cargo config to make it work, but
|
# macos requires some extra cargo config to make it work, but
|
||||||
# these settings make test fail so better limit them to this run
|
# these settings make test fail so better limit them to this run
|
||||||
#build-macos:
|
build-macos:
|
||||||
# runs-on: ${{ matrix.platform.runner }}
|
runs-on: ${{ matrix.platform.runner }}
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# matrix:
|
matrix:
|
||||||
# platform:
|
platform:
|
||||||
# - runner: macos-14
|
- runner: macos-14
|
||||||
# target: darwin-arm64
|
target: darwin-arm64
|
||||||
|
filename: codemp.dylib
|
||||||
|
#- runner: macos-12
|
||||||
|
# target: darwin-x64
|
||||||
# filename: codemp.dylib
|
# filename: codemp.dylib
|
||||||
# #- runner: macos-12
|
steps:
|
||||||
# # target: darwin-x64
|
- uses: actions/checkout@v4
|
||||||
# # filename: codemp.dylib
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
# steps:
|
- uses: arduino/setup-protoc@v3
|
||||||
# - uses: actions/checkout@v4
|
# this is the extra config required for lua
|
||||||
# - uses: dtolnay/rust-toolchain@stable
|
- run: mkdir .cargo
|
||||||
# - uses: arduino/setup-protoc@v3
|
- run: echo '${{ vars.MLUA_CARGO_CONFIG_EXTRA_SETTINGS }}' > .cargo/config.toml
|
||||||
# # this is the extra config required for lua
|
# TODO can we make it prettier?
|
||||||
# - run: mkdir .cargo
|
- run: cargo build --release --features=lua
|
||||||
# - run: echo '${{ vars.MLUA_CARGO_CONFIG_EXTRA_SETTINGS }}' > .cargo/config.toml
|
- uses: actions/upload-artifact@v4
|
||||||
# # TODO can we make it prettier?
|
with:
|
||||||
# - run: cargo build --release --features=lua
|
name: codemp-lua-${{ matrix.platform.target }}
|
||||||
# - uses: actions/upload-artifact@v4
|
path: target/release/${{ matrix.platform.filename }}
|
||||||
# with:
|
|
||||||
# name: codemp-lua-${{ matrix.platform.target }}
|
|
||||||
# path: target/release/${{ matrix.platform.filename }}
|
|
||||||
|
|
||||||
# TODO this just copies files on our server, maybe publish on luarocks? maybe do it properly with versions
|
# TODO this just copies files on our server, maybe publish on luarocks? maybe do it properly with versions
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build]
|
needs: [build, build-macos]
|
||||||
steps:
|
steps:
|
||||||
- uses: webfactory/ssh-agent@v0.9.0
|
- uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue