Skip to content

Fix macOS architecture mismatch and force stable Python in CI #5

Fix macOS architecture mismatch and force stable Python in CI

Fix macOS architecture mismatch and force stable Python in CI #5

Workflow file for this run

name: Build Geode Mod
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Windows
os: windows-latest
target: windows
- name: macOS
os: macos-latest
target: mac-os
- name: iOS
os: macos-latest
target: ios
- name: Android64
os: ubuntu-latest
target: android64
- name: Android32
os: ubuntu-latest
target: android32
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

Check failure on line 41 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
- name: Build Mod
uses: geode-sdk/build-geode-mod@main
with:
bindings-checkout: false
combine: true
target: ${{ matrix.config.target }}
# Force CMake to use the Python we just set up
extra-config: -DPython3_ROOT_DIR=${{ env.pythonLocation }} -DPython3_FIND_STRATEGY=LOCATION -DPython3_FIND_FRAMEWORK=NEVER