2021-03-31 02:34:41 -07:00
|
|
|
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
|
2021-03-31 02:34:41 -07:00
|
|
|
- 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
|
2021-03-31 02:34:41 -07:00
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
cd src
|
2021-07-16 04:56:11 -07:00
|
|
|
cmake .
|
2021-03-31 02:34:41 -07:00
|
|
|
make -j$(nproc)
|