You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
CI: Change godot-cpp from workflow to action
This commit is contained in:
19
.github/workflows/linux_builds.yml
vendored
19
.github/workflows/linux_builds.yml
vendored
@@ -33,7 +33,9 @@ jobs:
|
||||
proj-conv: true
|
||||
api-compat: true
|
||||
artifact: true
|
||||
cache-limit: 1
|
||||
# Validate godot-cpp compatibility on one arbitrary editor build.
|
||||
godot-cpp: true
|
||||
cache-limit: 2
|
||||
|
||||
- name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)
|
||||
cache-name: linux-editor-double-sanitizers
|
||||
@@ -44,8 +46,6 @@ jobs:
|
||||
build-mono: false
|
||||
tests: true
|
||||
proj-test: true
|
||||
# Generate an API dump for godot-cpp tests.
|
||||
api-dump: true
|
||||
# Skip 2GiB artifact speeding up action.
|
||||
artifact: false
|
||||
cache-limit: 7
|
||||
@@ -158,6 +158,13 @@ jobs:
|
||||
tests: ${{ matrix.tests }}
|
||||
scons-cache-limit: ${{ matrix.cache-limit }}
|
||||
|
||||
- name: Compilation (godot-cpp)
|
||||
uses: ./.github/actions/godot-cpp-build
|
||||
if: matrix.godot-cpp
|
||||
with:
|
||||
bin: ${{ matrix.bin }}
|
||||
scons-flags: target=template_debug dev_build=yes verbose=yes
|
||||
|
||||
- name: Save Godot build cache
|
||||
uses: ./.github/actions/godot-cache-save
|
||||
with:
|
||||
@@ -187,12 +194,6 @@ jobs:
|
||||
with:
|
||||
name: ${{ matrix.cache-name }}
|
||||
|
||||
- name: Dump Godot API
|
||||
uses: ./.github/actions/godot-api-dump
|
||||
if: matrix.api-dump
|
||||
with:
|
||||
bin: ${{ matrix.bin }}
|
||||
|
||||
- name: Unit tests
|
||||
if: matrix.tests
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user