-
Notifications
You must be signed in to change notification settings - Fork 28
51 lines (44 loc) · 1.16 KB
/
godot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 🤖 Godot Checks
on:
- push
- pull_request
jobs:
test_csharp_only:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
gdver: ["4.2.2", "4.3.0", "4.4.0-dev.1"]
include:
- os: ubuntu-latest
name: 🐧🧪C# Only
exe: test.x86_64
- os: macos-latest
name: 🍎🧪C# Only
exe: test.app/Contents/MacOS/test
- os: windows-latest
name: 🪟🧪C# Only
exe: test.exe
name: ${{ matrix.name }} (${{ matrix.gdver }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: chickensoft-games/setup-godot@v2
with:
version: ${{ matrix.gdver }}
use-dotnet: true
include-templates: true
cache: false
- name: Import
uses: ./.github/actions/import
with:
path: doc/test/csharp
- name: Build
shell: bash
run: |
cd $GAMEDIR
dotnet build
- name: Run tests
uses: ./.github/actions/run-test-project
with:
exe: ${{ matrix.exe }}