diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..7100beb --- /dev/null +++ b/.github/workflows/compile.yml @@ -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 diff --git a/extern/CLog b/extern/CLog index 906059b..78f58ff 160000 --- a/extern/CLog +++ b/extern/CLog @@ -1 +1 @@ -Subproject commit 906059bd02731184f80d8b3e789e61c5499213d0 +Subproject commit 78f58ffefc782c3bcc0bccaf7df38b064da6f170 diff --git a/src/shader.c b/src/shader.c index 0e9c798..e69305b 100644 --- a/src/shader.c +++ b/src/shader.c @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include