Skip to content

Commit

Permalink
new build system
Browse files Browse the repository at this point in the history
  • Loading branch information
iArtie committed Jul 14, 2024
1 parent 542835f commit 2d2bb73
Showing 1 changed file with 30 additions and 23 deletions.
53 changes: 30 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,55 @@ on:
push:
branches:
- "main"

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}}
- name: Windows
os: windows-latest
# will uncomment mac only when it releases
#- name: macOS
# os: macos-latest
- name: Android32
os: ubuntu-latest
target: Android32
- name: Android64
os: ubuntu-latest
target: Android64
#- name: iOS
# os: macos-latest
# target: iOS


name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}

steps:
- uses: actions/checkout@v3

with:
submodules: 'recursive'

- name: Build the mod
#uses: geode-sdk/build-geode-mod@main
uses: geode-sdk/build-geode-mod@main
with:
bindings: iArtie/bindings
bindings-ref: main
sdk: 'nightly'
cli: 'v3.0.0-beta.1'
combine: true
target: ${{matrix.config.target}}
export-pdb: true
target: ${{ matrix.config.target }}

package:
name: Package builds
runs-on: ubuntu-latest
needs: ['build']

steps:
- uses: geode-sdk/build-geode-mod/combine@main
id: build

- uses: actions/upload-artifact@v3
with:
name: Build Output
path: ${{steps.build.outputs.build-output}}
name: MoreGames Build Output
path: ${{ steps.build.outputs.build-output }}

0 comments on commit 2d2bb73

Please sign in to comment.