Build DFHack

develop
lethosor 2020-04-10 23:56:28 -04:00
parent 1ebad37c2c
commit 0d4572e40a
1 changed files with 12 additions and 0 deletions

@ -42,6 +42,18 @@ jobs:
with: with:
name: docs name: docs
path: docs/html path: docs/html
- name: Build DFHack
run: |
source "$HOME/.dfhackrc"
mkdir build-ci
cd build-ci
cmake .. \
-G Ninja \
-DDFHACK_BUILD_ARCH=64 \
-DBUILD_DOCS:BOOL=ON \
-DBUILD_TESTS:BOOL=ON \
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
ninja install
lint: lint:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps: