Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
xfnty committed Jun 28, 2023
1 parent f55f727 commit a844185
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
tag: latest
rm: true
token: ${{ secrets.GITHUB_TOKEN }}
files: ./uploads/linux.zip ./uploads/windows.zip
files: ./uploads/flappybird-linux.zip ./uploads/flappybird-macos.zip ./uploads/flappybird-windows.zip

build-linux:

Expand Down Expand Up @@ -58,7 +58,34 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: uploads
path: linux.zip
path: flappybird-linux.zip

build-macos:

runs-on: macos-latest

steps:
- uses: actions/checkout@v1

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Configuring CMake
run: python toolchain.py -c --target Release

- name: Building
run: python toolchain.py -b --target Release && mv ./build/release/flappy-bird ./flappy-bird

- name: Zip macos artifact
run: zip -r flappybird-macos ./flappy-bird

- name: Upload macos artifact
uses: actions/upload-artifact@v1
with:
name: uploads
path: flappybird-macos.zip

build-windows:

Expand All @@ -84,4 +111,4 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: uploads
path: windows.zip
path: flappybird-windows.zip
2 changes: 0 additions & 2 deletions src/engine/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ bool _engine_init(engine_t* engine, int argc, const char** argv) {
return false;
}

// debug_attach_signal_handler();

SetTraceLogCallback(_raylib_log_callback);
InitWindow(640, 480, "Flappy Bird");
SetWindowState(FLAG_WINDOW_RESIZABLE);
Expand Down

0 comments on commit a844185

Please sign in to comment.