Update server CI, dependencies and change to Rust 2024 edition #991
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Globed | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: Windows | |
os: windows-latest | |
- name: macOS | |
os: macos-latest | |
- name: Android32 | |
os: ubuntu-latest | |
target: Android32 | |
- name: Android64 | |
os: ubuntu-latest | |
target: Android64 | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build the mod | |
uses: geode-sdk/build-geode-mod@main | |
with: | |
sdk: 'nightly' | |
configure-args: '-DGLOBED_RELEASE=ON' | |
combine: 'true' | |
target: ${{ matrix.config.target }} | |
package: | |
name: Package builds | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Combine builds | |
uses: geode-sdk/build-geode-mod/combine@main | |
id: build | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Globed Build Output | |
path: ${{ steps.build.outputs.build-output }} |