summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorEmilien Bauer <bauer.emilien@gmail.com>2022-10-31 10:24:24 +0100
committerEmilien Bauer <bauer.emilien@gmail.com>2022-12-19 21:20:15 +0000
commite52d4b64862a248e9c6743d42e6bd244c8de2899 (patch)
tree7b8b4f761e4e7cb832644d415d45960a035d2239 /.github/workflows
parenta9c341656d430ba0db9517ff517dce116fcda50f (diff)
downloadredot-cpp-e52d4b64862a248e9c6743d42e6bd244c8de2899.tar.gz
Remove gen from emitted files to solve circular dependency with build_library=no.
Use env variable to pass the output dir instead. Add a CI step to guard regression on this. Clean the generated sources to avoid interfering with next steps.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4665ed9..307b8b0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -105,6 +105,11 @@ jobs:
if: ${{ matrix.platform == 'windows' && matrix.flags == 'use_mingw=yes' }}
uses: egor-tensin/setup-mingw@v2
+ - name: Generate godot-cpp sources only
+ run: |
+ scons platform=${{ matrix.platform }} build_library=no ${{ matrix.flags }}
+ scons -c
+
- name: Build godot-cpp (debug)
run: |
scons platform=${{ matrix.platform }} target=template_debug ${{ matrix.flags }}