iOS Support #309
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: Godot Build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
godot-version: [4.2.0, 4.2.1, 4.3.0] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
# Use bash shells on all platforms. | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: actions/setup-dotnet@v4 | |
name: Setup .NET SDK | |
with: | |
dotnet-version: 9.0.x | |
- name: .NET Version | |
run: dotnet --version | |
- uses: chickensoft-games/setup-godot@v2 | |
name: Setup Godot | |
with: | |
# Version must include major, minor, and patch, and be >= 4.0.0 | |
version: ${{ matrix.godot-version }} | |
# Use .NET-enabled version of Godot (the default is also true). | |
use-dotnet: true | |
- name: Godot Version | |
run: godot --version | |
- name: Restore Dependencies | |
run: dotnet restore | |
working-directory: Godot Project/ | |
- name: Generate .NET Bindings | |
run: godot --headless --build-solutions --quit || exit 0 | |
working-directory: Godot Project/ | |
- name: Build Projects | |
run: dotnet build | |
working-directory: Godot Project/ |