@@ -23,11 +23,11 @@ jobs:
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- name : Checkout
26
- uses : actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
26
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0
27
27
with :
28
28
submodules : true
29
29
- name : Set up Python
30
- uses : actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
30
+ uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # pin@v4.5.0
31
31
with :
32
32
python-version : ${{ env.PYTHON_VERSION }}
33
33
- name : Bootstrap
@@ -51,11 +51,11 @@ jobs:
51
51
PLATFORM : linux-x86_64
52
52
steps :
53
53
- name : ' Checkout'
54
- uses : actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
54
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0
55
55
with :
56
56
submodules : true
57
57
- name : ' Set up Python'
58
- uses : actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
58
+ uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # pin@v4.5.0
59
59
with :
60
60
python-version : ${{ env.PYTHON_VERSION }}
61
61
- name : ' Setup venv'
72
72
- name : ' Build project'
73
73
run : meson compile -C build/
74
74
- name : ' Run tests'
75
- run : python tests/run.py 0-gdscript 1-gdextension --build-dir build/ -- --headless
75
+ run : |
76
+ set -eux
77
+ python tests/run.py 0-gdscript --build-dir build/ -- --headless
78
+ python tests/run.py 1-gdextension --build-dir build/ -- --headless
76
79
# - name: 'Generate artifact archive'
77
80
# run: meson compile -C build/ release
78
81
# - name: 'Export release artifact'
@@ -94,20 +97,22 @@ jobs:
94
97
- PLATFORM : ' windows-x86_64'
95
98
PYTHON_ARCH : ' x64'
96
99
MSVC_ARCH : ' x64'
100
+ GODOT_BINARY_HINT : ' '
97
101
- PLATFORM : ' windows-x86'
98
102
PYTHON_ARCH : ' x86'
99
103
MSVC_ARCH : ' x86'
104
+ GODOT_BINARY_HINT : ' x86:'
100
105
steps :
101
106
- name : ' Checkout'
102
- uses : actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
107
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0
103
108
with :
104
109
submodules : true
105
110
- name : ' Set up MSVC'
106
111
uses :
egor-tensin/vs-shell@9a932a62d05192eae18ca370155cf877eecc2202 # [email protected]
107
112
with :
108
113
arch : ${{ matrix.MSVC_ARCH }}
109
114
- name : ' Set up Python'
110
- uses : actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
115
+ uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # pin@v4.5.0
111
116
with :
112
117
python-version : ${{ env.PYTHON_VERSION }}
113
118
architecture : ${{ matrix.PYTHON_ARCH }}
@@ -123,7 +128,11 @@ jobs:
123
128
- name : ' Build project'
124
129
run : meson compile -C build/
125
130
- name : ' Run tests'
126
- run : python tests/run.py 0-gdscript 1-gdextension --build-dir build/ -- --headless
131
+ shell : bash
132
+ run : |
133
+ set -eux
134
+ python tests/run.py 0-gdscript --build-dir build/ --godot-binary=${{ matrix.GODOT_BINARY_HINT }} -- --headless
135
+ python tests/run.py 1-gdextension --build-dir build/ --godot-binary=${{ matrix.GODOT_BINARY_HINT }} -- --headless
127
136
# - name: 'Install Mesa3D OpenGL'
128
137
# shell: bash
129
138
# run: |
@@ -164,11 +173,11 @@ jobs:
164
173
PLATFORM : ' macos-x86_64'
165
174
steps :
166
175
- name : ' Checkout'
167
- uses : actions/checkout@f1d3225b5376a0791fdee5a0e8eac5289355e43a # pin@v2
176
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # pin@v3.3.0
168
177
with :
169
178
submodules : true
170
179
- name : ' Set up Python'
171
- uses : actions/setup-python@0291cefc54fa79cd1986aee8fa5ecb89ad4defea # pin@v2
180
+ uses : actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # pin@v4.5.0
172
181
with :
173
182
python-version : ${{ env.PYTHON_VERSION }}
174
183
- name : ' Setup venv'
0 commit comments