Github CI

This commit is contained in:
illegitimate-egg 2024-10-14 22:00:59 +01:00
parent 1b06b0234e
commit f942a56cbc
3 changed files with 34 additions and 2 deletions

32
.github/workflows/compile.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Test Compilation
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install python depdencies
run: |
python -m pip install --upgrade pip
pip install jinja2
- name: Install dependencies
run: |
DEBIAN_FRONTEND=noninteractive apt update -y
DEBIAN_FRONTEND=noninteractive apt install -y build-essential cmake pkg-config mesa-utils mesa-common-dev libao-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
- name: CMake build files
run: |
mkdir build
cd build
cmake ..
- name: Build project
run: |
cd build
make

2
extern/CLog vendored

@ -1 +1 @@
Subproject commit 906059bd02731184f80d8b3e789e61c5499213d0
Subproject commit 78f58ffefc782c3bcc0bccaf7df38b064da6f170

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <clog/clog.h>
#include <clog/extra.h>
#include <glad/gl.h>
#include <GLFW/glfw3.h>