Files
GameOfLifeEditor/.gitea/workflows/test.yml
lejulien a4b8834d2b
All checks were successful
Gol CI / build (pull_request) Successful in 3m4s
ci: uploading compiled binary
2026-04-22 11:40:21 +02:00

29 lines
660 B
YAML

name: Gol CI
# Run on the merge of a pull request to the main branch
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
- name: Build and test
run: |
mkdir build
cd build
cmake ..
make
- uses: actions/upload-artifact@v2
with:
name: gol-linux-build
path: ./GameOfLifeEditor