dragonblocks_alpha/.github/workflows/build.yml

21 lines
502 B
YAML
Raw Permalink Normal View History

name: build
2021-03-31 02:27:26 -07:00
on: [push]
jobs:
build:
runs-on: ubuntu-latest
2021-03-31 02:30:16 -07:00
steps:
2021-03-31 02:37:28 -07:00
- name: Checkout repository and submodules
uses: actions/checkout@v3
2021-03-31 02:37:28 -07:00
with:
submodules: recursive
fetch-depth: 0
- name: Install deps
run: |
sudo apt-get update
2022-04-25 06:50:13 -07:00
sudo apt-get install -y build-essential cmake lua5.3 xorg-dev libgl1-mesa-dev
- name: Build
run: |
2022-04-25 06:45:50 -07:00
cmake -B build -S src
cd build
make -j$(nproc)