|
|
@ -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 ${{ env.DF_FOLDER }}/dfhack-config/init
|
|
|
|
|
|
|
|
cd data/dfhack-config/init
|
|
|
|
|
|
|
|
for fname in *.init; do touch ../../../${{ env.DF_FOLDER }}/dfhack-config/init/$fname; done
|
|
|
|
- name: Download DFHack
|
|
|
|
- name: Download DFHack
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
uses: actions/download-artifact@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -113,7 +125,7 @@ jobs:
|
|
|
|
if: always()
|
|
|
|
if: always()
|
|
|
|
continue-on-error: true
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: test-artifacts-msvc
|
|
|
|
name: test-output-${{ matrix.compiler }}-${{ matrix.plugins }}_plugins-${{ matrix.config }}_config
|
|
|
|
path: |
|
|
|
|
path: |
|
|
|
|
${{ env.DF_FOLDER }}/dfhack-rpc.txt
|
|
|
|
${{ env.DF_FOLDER }}/dfhack-rpc.txt
|
|
|
|
${{ env.DF_FOLDER }}/test*.json
|
|
|
|
${{ env.DF_FOLDER }}/test*.json
|
|
|
|