dragonblocks_alpha/.github/workflows/build.yml

20 lines
496 B
YAML
Raw 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@v2
with:
submodules: recursive
- name: Install deps
run: |
sudo apt-get update
2021-07-16 04:56:11 -07:00
sudo apt-get install -y build-essential cmake libgl1-mesa-dev libglfw3-dev libglew-dev libsqlite3-dev zlib1g-dev
- name: Build
run: |
cd src
2021-07-16 04:56:11 -07:00
cmake .
make -j$(nproc)