]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - .github/workflows/build.yml
GitHub actions: fetch entire history on checkout
[dragonblocks_alpha.git] / .github / workflows / build.yml
1 name: build
2 on: [push]
3 jobs:
4   build:
5     runs-on: ubuntu-latest
6     steps:
7       - name: Checkout repository and submodules
8         uses: actions/checkout@v3
9         with:
10           submodules: recursive
11           fetch-depth: 0
12       - name: Install deps
13         run: |
14           sudo apt-get update
15           sudo apt-get install -y build-essential cmake lua5.3 xorg-dev libgl1-mesa-dev
16       - name: Build
17         run: |
18           cmake -B build -S src
19           cd build
20           make -j$(nproc)