Improving CI usage #7

Merged
lejulien merged 2 commits from improvin-ci into main 2026-04-03 12:16:55 +00:00
Showing only changes of commit f0284e7975 - Show all commits

View File

@@ -1,18 +1,21 @@
name: Gol CI
# Run on the merge of a pull request to the main branch
on:
pull_request:
branches: [main]
push:
branches: [ main ]
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install cmake
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake
sudo apt-get install -y cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
- name: Build and test
run: |
mkdir build