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.
This commit is contained in:
Emilien Bauer
2022-10-31 10:24:24 +01:00
parent a9c341656d
commit e52d4b6486
2 changed files with 9 additions and 3 deletions

View File

@@ -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 }}