|
|
@ -15,17 +15,11 @@ jobs:
|
|
|
|
- 4.8
|
|
|
|
- 4.8
|
|
|
|
- 7
|
|
|
|
- 7
|
|
|
|
plugins:
|
|
|
|
plugins:
|
|
|
|
- supported
|
|
|
|
- default
|
|
|
|
include:
|
|
|
|
include:
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
gcc: 10
|
|
|
|
gcc: 10
|
|
|
|
plugins: supported
|
|
|
|
plugins: all
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
|
|
|
|
gcc: 10
|
|
|
|
|
|
|
|
plugins: dev
|
|
|
|
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
|
|
|
|
gcc: 10
|
|
|
|
|
|
|
|
plugins: stonesense
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Set up Python 3
|
|
|
|
- name: Set up Python 3
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
uses: actions/setup-python@v2
|
|
|
@ -79,15 +73,14 @@ jobs:
|
|
|
|
-G Ninja \
|
|
|
|
-G Ninja \
|
|
|
|
-DDFHACK_BUILD_ARCH=64 \
|
|
|
|
-DDFHACK_BUILD_ARCH=64 \
|
|
|
|
-DBUILD_TESTS:BOOL=ON \
|
|
|
|
-DBUILD_TESTS:BOOL=ON \
|
|
|
|
-DBUILD_DEV_PLUGINS:BOOL=${{ matrix.plugins == 'dev' }} \
|
|
|
|
-DBUILD_DEV_PLUGINS:BOOL=${{ matrix.plugins == 'all' }} \
|
|
|
|
-DBUILD_SIZECHECK:BOOL=${{ matrix.plugins == 'dev' }} \
|
|
|
|
-DBUILD_SIZECHECK:BOOL=${{ matrix.plugins == 'all' }} \
|
|
|
|
-DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'stonesense' }} \
|
|
|
|
-DBUILD_STONESENSE:BOOL=${{ matrix.plugins == 'all' }} \
|
|
|
|
-DBUILD_SUPPORTED:BOOL=${{ matrix.plugins == 'supported' }} \
|
|
|
|
-DBUILD_SUPPORTED:BOOL=1 \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
|
|
|
|
-DCMAKE_INSTALL_PREFIX="$DF_FOLDER"
|
|
|
|
ninja -C build-ci install
|
|
|
|
ninja -C build-ci install
|
|
|
|
- name: Run tests
|
|
|
|
- name: Run tests
|
|
|
|
id: run_tests
|
|
|
|
id: run_tests
|
|
|
|
if: ${{ matrix.plugins == 'supported' }}
|
|
|
|
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
export TERM=dumb
|
|
|
|
export TERM=dumb
|
|
|
|
mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init
|
|
|
|
mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init
|
|
|
|