File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 run : |
7979 mkdir ghostship-release
8080 mkdir ghostship-release/debug
81+ if (-Not (Test-Path "build/x64/Release/.tcc")) { Write-Error "ERROR: .tcc not found in build/x64/Release/"; exit 1 }
8182 mv build/x64/Release/.tcc ghostship-release/
8283 mv build/x64/Release/Ghostship.exe ghostship-release/
8384 mv build/x64/Release/ghostship.o2r ghostship-release/
@@ -155,7 +156,8 @@ jobs:
155156 run : |
156157 (cd build-cmake && cpack)
157158 mv _packages/*.dmg Ghostship.dmg
158- mv build-cmake/.tcc .
159+ ls -la build-cmake/.tcc || (echo "ERROR: .tcc not found in build-cmake/" && exit 1)
160+ cp -r build-cmake/.tcc .tcc
159161 mv README.md readme.txt
160162 - name : Publish packaged artifacts
161163 uses : actions/upload-artifact@v4
@@ -258,7 +260,8 @@ jobs:
258260 wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/master/gamecontrollerdb.txt
259261 mv README.md readme.txt
260262 mv build-cmake/*.appimage ghostship.appimage
261- mv build-cmake/.tcc .
263+ ls -la build-cmake/.tcc || (echo "ERROR: .tcc not found in build-cmake/" && exit 1)
264+ cp -r build-cmake/.tcc .tcc
262265 - name : Upload build
263266 uses : actions/upload-artifact@v4
264267 with :
Original file line number Diff line number Diff line change @@ -794,6 +794,7 @@ add_custom_target(CreateOSXIcons
794794 add_dependencies (${PROJECT_NAME } CreateOSXIcons )
795795 configure_file ("${CMAKE_SOURCE_DIR } /Info.plist" "${CMAKE_BINARY_DIR } /Info.plist" COPYONLY )
796796INSTALL (TARGETS ${PROJECT_NAME } DESTINATION ../MacOS COMPONENT Ghostship)
797+ INSTALL (TARGETS libtcc DESTINATION ../MacOS COMPONENT Ghostship)
797798INSTALL (FILES ${CMAKE_BINARY_DIR } /gamecontrollerdb.txt DESTINATION ../MacOS COMPONENT Ghostship)
798799INSTALL (FILES ${CMAKE_BINARY_DIR } /ghostship.o2r DESTINATION ../Resources COMPONENT Ghostship)
799800INSTALL (FILES ${CMAKE_BINARY_DIR } /config.yml DESTINATION ../Resources COMPONENT Ghostship)
You can’t perform that action at this time.
0 commit comments