Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev g++-mingw-w64-i686

- name: Build for Ubuntu
run: |
cmake -B build-ubuntu
cmake --build build-ubuntu

- name: Upload for Ubuntu
uses: actions/upload-artifact@v4
with:
name: GravityDefied
path: build-ubuntu/GravityDefied

- name: Build for Windows
run: |
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-toolchain.cmake -B build-win32
cmake --build build-win32

- name: Upload for Windows
uses: actions/upload-artifact@v4
with:
name: GravityDefied.exe
path: build-win32/GravityDefied.exe
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is the C++ & SDL2 port of Gravity Defied, which includes all the features o
### Gravity Defied Cpp authors
* **[rgimad](https://github.com/rgimad)** - idea & coding
* **[AntonEvmenenko](https://github.com/AntonEvmenenko)** - coding
* **[turbocat2001](https://github.com/turbocat2001)** - coding
* **[Max Logaev](https://github.com/mxlgv)** - coding

### Codebrew GDTR Authors

Expand Down