|
|
@ -50,7 +50,7 @@ jobs:
|
|
|
|
plugins: "all"
|
|
|
|
plugins: "all"
|
|
|
|
|
|
|
|
|
|
|
|
run-tests:
|
|
|
|
run-tests:
|
|
|
|
name: Test (${{ matrix.os }}, ${{ matrix.compiler }}, ${{ matrix.plugins }} plugins)
|
|
|
|
name: Test (${{ matrix.os }}, ${{ matrix.compiler }}, ${{ matrix.plugins }} plugins, ${{ matrix.config }} config)
|
|
|
|
needs:
|
|
|
|
needs:
|
|
|
|
- build-windows
|
|
|
|
- build-windows
|
|
|
|
- build-linux
|
|
|
|
- build-linux
|
|
|
@ -62,15 +62,20 @@ jobs:
|
|
|
|
- os: windows
|
|
|
|
- os: windows
|
|
|
|
compiler: msvc
|
|
|
|
compiler: msvc
|
|
|
|
plugins: "default"
|
|
|
|
plugins: "default"
|
|
|
|
|
|
|
|
config: "default"
|
|
|
|
|
|
|
|
- os: windows
|
|
|
|
|
|
|
|
compiler: msvc
|
|
|
|
|
|
|
|
plugins: "default"
|
|
|
|
|
|
|
|
config: "empty"
|
|
|
|
# TODO: uncomment once we have a linux build we can download from bay12
|
|
|
|
# TODO: uncomment once we have a linux build we can download from bay12
|
|
|
|
# - os: ubuntu
|
|
|
|
# - os: ubuntu
|
|
|
|
# compiler: gcc-10
|
|
|
|
# compiler: gcc-10
|
|
|
|
# gcc: 10
|
|
|
|
|
|
|
|
# plugins: "default"
|
|
|
|
# plugins: "default"
|
|
|
|
|
|
|
|
# config: "default"
|
|
|
|
# - os: ubuntu
|
|
|
|
# - os: ubuntu
|
|
|
|
# compiler: gcc-10
|
|
|
|
# compiler: gcc-12
|
|
|
|
# gcc: 12
|
|
|
|
|
|
|
|
# plugins: "all"
|
|
|
|
# plugins: "all"
|
|
|
|
|
|
|
|
# config: "default"
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Set env
|
|
|
|
- name: Set env
|
|
|
|
shell: bash
|
|
|
|
shell: bash
|
|
|
@ -98,6 +103,13 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ${{ env.DF_FOLDER }}
|
|
|
|
path: ${{ env.DF_FOLDER }}
|
|
|
|
key: df-${{ matrix.os }}-${{ env.DF_VERSION }}-${{ hashFiles('ci/download-df.sh') }}
|
|
|
|
key: df-${{ matrix.os }}-${{ env.DF_VERSION }}-${{ hashFiles('ci/download-df.sh') }}
|
|
|
|
|
|
|
|
- name: Install blank DFHack init scripts
|
|
|
|
|
|
|
|
if: matrix.config == 'empty'
|
|
|
|
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
run: |
|
|
|
|
|
|
|
|
mkdir -p dfhack-config/init
|
|
|
|
|
|
|
|
cd data/dfhack-config/init
|
|
|
|
|
|
|
|
for fname in *.init; do touch ../../../dfhack-config/init/$fname; done
|
|
|
|
- name: Download DFHack
|
|
|
|
- name: Download DFHack
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|