Abstracting away the game state, scenes, and lobbies #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-linux | |
on: | |
push: | |
branches: [master] | |
paths: | |
- 'include/**' | |
- 'src/**' | |
- 'vendor/**' | |
- 'Makefile' | |
- 'config.mk' | |
pull_request: | |
branches: [master] | |
types: [opened, synchronize] | |
paths: | |
- 'include/**' | |
- 'src/**' | |
- 'vendor/**' | |
- 'Makefile' | |
- 'config.mk' | |
schedule: | |
- cron: '0 0 * * 1' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: false | |
jobs: | |
build-analyze: | |
permissions: | |
security-events: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout-repo | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: install-dependencies | |
run: sudo apt-get install -y libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev | |
- name: setup-codeql | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: c-cpp | |
- name: build | |
run: make | |
- name: analyze | |
uses: github/codeql-action/analyze@v3 |