Skip to content

Commit 1d178f0

Browse files
committed
Updated .tcc
1 parent 01516c7 commit 1d178f0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
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:

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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)
796796
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ../MacOS COMPONENT Ghostship)
797+
INSTALL(TARGETS libtcc DESTINATION ../MacOS COMPONENT Ghostship)
797798
INSTALL(FILES ${CMAKE_BINARY_DIR}/gamecontrollerdb.txt DESTINATION ../MacOS COMPONENT Ghostship)
798799
INSTALL(FILES ${CMAKE_BINARY_DIR}/ghostship.o2r DESTINATION ../Resources COMPONENT Ghostship)
799800
INSTALL(FILES ${CMAKE_BINARY_DIR}/config.yml DESTINATION ../Resources COMPONENT Ghostship)

0 commit comments

Comments
 (0)