ci(lua): disable macos because it wont work

keeps answering rate limited on protobuf step, will try again in a sec
This commit is contained in:
əlemi 2024-09-10 02:39:26 +02:00
parent e9e5f6fa65
commit 53bfaf1d9a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -34,35 +34,35 @@ 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 # filename: codemp.dylib
#- runner: macos-12 # #- runner: macos-12
# target: darwin-x64 # # target: darwin-x64
# filename: codemp.dylib # # filename: codemp.dylib
steps: # steps:
- 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 # # this is the extra config required for lua
- run: mkdir .cargo # - run: mkdir .cargo
- run: echo '${{ vars.MLUA_CARGO_CONFIG_EXTRA_SETTINGS }}' > .cargo/config.toml # - run: echo '${{ vars.MLUA_CARGO_CONFIG_EXTRA_SETTINGS }}' > .cargo/config.toml
# TODO can we make it prettier? # # TODO can we make it prettier?
- run: cargo build --release --features=lua # - 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 }}
path: target/release/${{ matrix.platform.filename }} # path: target/release/${{ matrix.platform.filename }}
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build, build-macos] needs: [build]
steps: steps:
- uses: webfactory/ssh-agent@v0.9.0 - uses: webfactory/ssh-agent@v0.9.0
with: with: