File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 uses : geode-sdk/build-geode-mod@main
4343 with :
4444 combine : true
45- export-debug : true
45+ export-pdb : true
46+ export-symbols : true
4647 target : ${{ matrix.config.target }}
4748 build-config : ${{ matrix.config.build-type || 'Release'}}
4849
7172 - uses : actions/download-artifact@v8
7273 with :
7374 path : ./artifacts/
75+ merge-multiple : true
76+
77+ - name : List downloaded artifacts
78+ run : |
79+ echo "Contents of ./artifacts:"
80+ ls -R ./artifacts
7481
7582 - name : Get latest release tag
7683 id : getrelease
8996 **Development build for commit ${{ github.sha }}**.
9097 > [`View Current Changes`](${{ github.event.repository.html_url }}/compare/${{ steps.getrelease.outputs.tag }}...nightly)
9198 files : |
92- ./artifacts/build-output/ **/*
99+ ./artifacts/**/*
93100
94101 - name : Check for Discord webhook URL
95102 id : check-discord
@@ -102,7 +109,7 @@ jobs:
102109 with :
103110 webhook-url : ${{ secrets.NIGHTLY_WEBHOOK }}
104111 files : |
105- ./artifacts/build-output/ *.geode
112+ ./artifacts/*.geode
106113 embed-title : " [${{ github.event.repository.name }}] Nightly Release"
107114 embed-description : |
108115 **Development build for commit [`${{ github.sha }}`](${{ github.event.repository.html_url}}/commit/${{ github.sha }})**.
Original file line number Diff line number Diff line change @@ -19,35 +19,6 @@ if(PROJECT_IS_TOP_LEVEL)
1919 target_compile_definitions (${PROJECT_NAME} PRIVATE AWCW_HORRIBLE_API_EXPORTING )
2020endif ()
2121
22- if (CMAKE_BUILD_TYPE STREQUAL "Release" )
23- if (ANDROID )
24- add_custom_command (
25- TARGET ${PROJECT_NAME} POST_BUILD
26- COMMAND ${CMAKE_OBJCOPY} --only-keep-debug
27- $<TARGET_FILE :${PROJECT_NAME} >
28- $<TARGET_FILE :${PROJECT_NAME} >.dbg
29- )
30- add_custom_command (
31- TARGET ${PROJECT_NAME} POST_BUILD
32- COMMAND ${CMAKE_STRIP} --strip-all $<TARGET_FILE :${PROJECT_NAME} >
33- )
34- add_custom_command (
35- TARGET ${PROJECT_NAME} POST_BUILD
36- COMMAND ${CMAKE_OBJCOPY} --add-gnu-debuglink=$<TARGET_FILE:${PROJECT_NAME}>.dbg
37- $<TARGET_FILE :${PROJECT_NAME} >
38- )
39- elseif (APPLE )
40- add_custom_command (
41- TARGET ${PROJECT_NAME} POST_BUILD
42- COMMAND dsymutil $<TARGET_FILE :${PROJECT_NAME} > -o $<TARGET_FILE :${PROJECT_NAME} >.dSYM
43- )
44- add_custom_command (
45- TARGET ${PROJECT_NAME} POST_BUILD
46- COMMAND ${CMAKE_STRIP} -x $<TARGET_FILE :${PROJECT_NAME} >
47- )
48- endif ()
49- endif ()
50-
5122if (NOT DEFINED ENV{GEODE_SDK})
5223 message (FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode" )
5324else ()
You can’t perform that action at this time.
0 commit comments