Skip to content

Commit eb567e9

Browse files
committed
try adding a matrix entry for linux that specifies an api versionn
1 parent 3024a72 commit eb567e9

File tree

1 file changed

+33
-25
lines changed

1 file changed

+33
-25
lines changed

.github/workflows/ci-cmake.yml

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,24 @@ jobs:
3939
artifact-name: godot-cpp-linux-glibc2.27-x86_64-release.cmake
4040
artifact-path: cmake-build/bin/libgodot-cpp.linux.template_release.x86_64.a
4141
run-tests: true
42-
# godot-test-versions: "4.6-stable"
4342
godot-test-arch: "linux.x86_64"
4443
godot-master-workflow: linux_builds.yml
4544
godot-master-artifact: linux-editor-mono
4645

46+
- name: 🐧 Linux (GCC, Makefiles) for Godot 4.6
47+
os: ubuntu-22.04
48+
platform: linux
49+
api-version: 4.6
50+
config-flags:
51+
-DCMAKE_BUILD_TYPE=Release
52+
-DGODOTCPP_API_VERSION=4.6
53+
artifact-name: godot-cpp-linux-glibc2.27-x86_64-release.cmake
54+
artifact-path: cmake-build/bin/libgodot-cpp.linux.template_release.x86_64.a
55+
run-tests: true
56+
godot-test-versions: "4.6-stable"
57+
godot-test-arch: "linux.x86_64"
58+
godot-master-workflow: linux_builds.yml
59+
godot-master-artifact: linux-editor-mono
4760

4861
- name: 🏁 Windows (x86_64, MSVC)
4962
os: windows-2022
@@ -53,12 +66,10 @@ jobs:
5366
artifact-name: godot-cpp-windows-msvc2019-x86_64-release.cmake
5467
artifact-path: cmake-build/bin/libgodot-cpp.windows.template_release.x86_64.lib
5568
run-tests: true
56-
# godot-test-versions: "4.6-stable"
5769
godot-test-arch: "win64.exe"
5870
godot-master-workflow: windows_builds.yml
5971
godot-master-artifact: windows-editor
6072

61-
6273
- name: 🏁 Windows (x86_64, MinGW, Ninja)
6374
os: windows-2022
6475
platform: windows
@@ -69,25 +80,21 @@ jobs:
6980
artifact-name: godot-cpp-linux-mingw-x86_64-release.cmake
7081
artifact-path: cmake-build/bin/libgodot-cpp.windows.template_release.x86_64.a
7182
run-tests: true
72-
# godot-test-versions: "4.6-stable"
7383
godot-test-arch: "win64.exe"
7484
godot-master-workflow: windows_builds.yml
7585
godot-master-artifact: windows-editor
7686

77-
7887
- name: 🍎 macOS (universal, Makefiles)
7988
os: macos-latest
8089
platform: macos
8190
config-flags: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
8291
artifact-name: godot-cpp-macos-universal-release.cmake
8392
artifact-path: cmake-build/bin/libgodot-cpp.macos.template_release.universal.a
8493
run-tests: true
85-
# godot-test-versions: "4.6-stable"
8694
godot-test-arch: "macos.universal"
8795
godot-master-workflow: macos_builds.yml
8896
godot-master-artifact: macos-editor
8997

90-
9198
- name: 🤖 Android (arm64, Ninja)
9299
os: ubuntu-22.04
93100
platform: android
@@ -160,24 +167,6 @@ jobs:
160167
- name: Build godot-cpp-test (template_release)
161168
run: cmake --build cmake-build --verbose --target godot-cpp-test ${{ matrix.build-flags }}
162169

163-
- name: Show sccache statistics (Markdown table)
164-
if: always()
165-
shell: bash
166-
run: |
167-
{
168-
echo "## 📊 sccache Statistics"
169-
echo
170-
echo "| Metric | Value |"
171-
echo "|--------|-------|"
172-
"${SCCACHE_PATH}" --show-stats | awk '
173-
/^[A-Za-z]/ {
174-
gsub(/^[ \t]+|[ \t]+$/, "");
175-
gsub(/[ \t]{2,}/, "|");
176-
print "| " $0 " |";
177-
}
178-
'
179-
} >> "$GITHUB_STEP_SUMMARY"
180-
181170
- name: Download latest Godot artifacts
182171
uses: dsnopek/action-download-artifact@1322f74e2dac9feed2ee76a32d9ae1ca3b4cf4e9
183172
if: matrix.run-tests && env.GODOT_TEST_VERSION == 'master'
@@ -214,3 +203,22 @@ jobs:
214203
name: ${{ matrix.artifact-name }}
215204
path: ${{ matrix.artifact-path }}
216205
if-no-files-found: error
206+
207+
- name: Show sccache statistics (Markdown table)
208+
if: always()
209+
shell: bash
210+
run: |
211+
{
212+
echo "## 📊 sccache Statistics"
213+
echo
214+
echo "| Metric | Value |"
215+
echo "|--------|-------|"
216+
"${SCCACHE_PATH}" --show-stats | awk '
217+
/^[A-Za-z]/ {
218+
gsub(/^[ \t]+|[ \t]+$/, "");
219+
gsub(/[ \t]{2,}/, "|");
220+
print "| " $0 " |";
221+
}
222+
'
223+
} >> "$GITHUB_STEP_SUMMARY"
224+
"${SCCACHE_PATH}" --stop-server || true

0 commit comments

Comments
 (0)