Updated workflows

This commit is contained in:
KiritoDv 2025-01-15 21:25:58 -06:00
parent 70db8aef1f
commit 0bf06e720d
2 changed files with 18 additions and 9 deletions

View File

@ -58,12 +58,19 @@ jobs:
uses: actions/download-artifact@v4
with:
name: starship.o2r
path: ./build/x64/Release/starship.o2r
path: ./build/x64/Release
- name: Create Package
run: |
mkdir starship-release
mv build/x64/Release/Starship.exe starship-release/
mv build/x64/Release/starship.o2r starship-release/
mv config.json starship-release/
mv assets starship-release/
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: starship-windows
path: ./build/x64/Release
path: starship-release
build-macos:
needs: generate-port-o2r
@ -82,12 +89,14 @@ jobs:
uses: actions/download-artifact@v4
with:
name: starship.o2r
path: build-cmake/starship.o2r
path: ./build-cmake
- name: Create Package
run: |
mkdir starship-release
mv build-cmake/Starship starship-release/
mv build-cmake/starship.o2r starship-release/
mv config.json starship-release/
mv assets starship-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
@ -127,7 +136,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: starship.o2r
path: build-cmake/starship.o2r
path: ./build-cmake
- name: Build
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
@ -142,3 +151,5 @@ jobs:
name: Starship-linux
path: |
starship.appimage
config.json
assets

View File

@ -30,20 +30,18 @@ class GameEngine {
std::shared_ptr<Ship::Context> context;
GameEngine();
void StartFrame() const;
static bool GenAssetFile();
static void Create();
void StartFrame() const;
static void HandleAudioThread();
static void ProcessAudioTask(s16* audio_buffer);
static void StartAudioFrame();
static void EndAudioFrame();
static void AudioInit();
static void AudioExit();
static void RunCommands(Gfx* Commands, const std::vector<std::unordered_map<Mtx*, MtxF>>& mtx_replacements);
void ProcessFrame(void (*run_one_game_iter)()) const;
static void Destroy();
static void ProcessGfxCommands(Gfx* commands);
static uint32_t GetInterpolationFPS();
static void ProcessGfxCommands(Gfx* commands);
static int ShowYesNoBox(const char* title, const char* box);
static void ShowMessage(const char* title, const char* message, SDL_MessageBoxFlags type = SDL_MESSAGEBOX_ERROR);