summaryrefslogtreecommitdiff
path: root/.github/workflows/windows_builds.yml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-22 14:07:52 +0200
committerGitHub <noreply@github.com>2021-09-22 14:07:52 +0200
commit08e455a1f6de9f494422a9084835ce250e8c2738 (patch)
treef4c2defd6a7f1f4f806de4fc78d2a68822d36206 /.github/workflows/windows_builds.yml
parent8afa14e9b7f07e4d2034e1102ff08ad7a180a209 (diff)
parentc4fa301b6b3b8faa3f14558e5207263b5490213b (diff)
Merge pull request #52927 from akien-mga/ci-debug-then-strip
Diffstat (limited to '.github/workflows/windows_builds.yml')
-rw-r--r--.github/workflows/windows_builds.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml
index ee689612f5..ad870ae58f 100644
--- a/.github/workflows/windows_builds.yml
+++ b/.github/workflows/windows_builds.yml
@@ -5,7 +5,7 @@ on: [push, pull_request]
# SCONS_CACHE for windows must be set in the build environment
env:
GODOT_BASE_BRANCH: master
- SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no module_text_server_fb_enabled=yes
+ SCONSFLAGS: verbose=yes warnings=all werror=yes module_text_server_fb_enabled=yes
SCONS_CACHE_MSVC_CONFIG: true
concurrency:
@@ -33,6 +33,7 @@ jobs:
target: release
tools: false
tests: false
+ sconsflags: debug_symbols=no
steps:
- uses: actions/checkout@v2
@@ -50,7 +51,7 @@ jobs:
- name: Compilation
uses: ./.github/actions/godot-build
with:
- sconsflags: ${{ env.SCONSFLAGS }}
+ sconsflags: ${{ env.SCONSFLAGS }} ${{ matrix.sconsflags }}
platform: windows
target: ${{ matrix.target }}
tools: ${{ matrix.tools }}
@@ -63,6 +64,10 @@ jobs:
run: |
${{ matrix.bin }} --test
+ - name: Prepare artifact
+ run: |
+ Remove-Item bin/* -Include *.exp,*.lib,*.pdb -Force
+
- name: Upload artifact
uses: ./.github/actions/upload-artifact
with: