Skip to content

Commit d0ec4ef

Browse files
committed
Further testing
1 parent 5b1a3d7 commit d0ec4ef

File tree

2 files changed

+55
-53
lines changed

2 files changed

+55
-53
lines changed

.github/workflows/build-windows.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,19 @@ jobs:
118118
# win-msvc-${{ inputs.cache-id }}
119119
# win-msvc
120120
- name: Configure DFHack
121+
uses: ilammy/msvc-dev-cmd@v1
121122
env:
122123
CMAKE_EXTRA_ARGS: -DBUILD_PDBS:BOOL=${{ inputs.cache-id == 'release' }} -DDFHACK_RUN_URL='https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' -DBUILD_LIBRARY=${{ inputs.platform-files }} -DBUILD_PLUGINS:BOOL=${{ inputs.platform-files && inputs.plugins }} -DBUILD_STONESENSE:BOOL=${{ inputs.stonesense }} -DBUILD_DOCS:BOOL=${{ inputs.docs }} -DBUILD_DOCS_NO_HTML:BOOL=${{ !inputs.html }} -DINSTALL_DATA_FILES:BOOL=${{ inputs.common-files }} -DINSTALL_SCRIPTS:BOOL=${{ inputs.common-files }} -DBUILD_DFLAUNCH:BOOL=${{ inputs.launchdf }} -DBUILD_TESTS:BOOL=${{ inputs.tests }} -DBUILD_XMLDUMP:BOOL=${{ inputs.xml-dump-type-sizes }} ${{ inputs.xml-dump-type-sizes && '-DINSTALL_XMLDUMP:BOOL=1' || '' }}
123124
CC: cl
124125
CXX: cl
125126
run: |
126127
cmake -S . `
127128
-B build `
128-
-DCMAKE_BUILD_ARCH=64 `
129-
-DCMAKE_BUILD_TYPE=Release `
130-
${CMAKE_EXTRA_ARGS}
129+
-GNinja `
130+
-DDFHACK_BUILD_ARCH=64 `
131+
-DCMAKE_BUILD_TYPE=RelWithDebInfo
131132
- name: Build DFHack
133+
uses: ilammy/msvc-dev-cmd@v1
132134
run: |
133135
cmake --build build
134136
# - name: Finalize cache

.github/workflows/test.yml

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,33 @@ jobs:
3636
html: false
3737
tests: true
3838

39-
build-linux:
40-
name: Linux gcc-${{ matrix.gcc }}
41-
uses: ./.github/workflows/build-linux.yml
42-
with:
43-
dfhack_repo: ${{ inputs.dfhack_repo }}
44-
dfhack_ref: ${{ inputs.dfhack_ref }}
45-
scripts_repo: ${{ inputs.scripts_repo }}
46-
scripts_ref: ${{ inputs.scripts_ref }}
47-
structures_repo: ${{ inputs.structures_repo }}
48-
structures_ref: ${{ inputs.structures_ref }}
49-
artifact-name: test-gcc-${{ matrix.gcc }}
50-
cache-id: test
51-
stonesense: ${{ matrix.plugins == 'all' }}
52-
extras: ${{ matrix.plugins == 'all' }}
53-
docs: true
54-
html: false
55-
tests: true
56-
gcc-ver: ${{ matrix.gcc }}
57-
secrets: inherit
58-
strategy:
59-
fail-fast: false
60-
matrix:
61-
include:
62-
- gcc: 11 # baseline compatibility with ubuntu LTS 22.04
63-
plugins: "default"
64-
- gcc: 12 # highest available in ubuntu 22.04
65-
plugins: "all"
39+
# build-linux:
40+
# name: Linux gcc-${{ matrix.gcc }}
41+
# uses: ./.github/workflows/build-linux.yml
42+
# with:
43+
# dfhack_repo: ${{ inputs.dfhack_repo }}
44+
# dfhack_ref: ${{ inputs.dfhack_ref }}
45+
# scripts_repo: ${{ inputs.scripts_repo }}
46+
# scripts_ref: ${{ inputs.scripts_ref }}
47+
# structures_repo: ${{ inputs.structures_repo }}
48+
# structures_ref: ${{ inputs.structures_ref }}
49+
# artifact-name: test-gcc-${{ matrix.gcc }}
50+
# cache-id: test
51+
# stonesense: ${{ matrix.plugins == 'all' }}
52+
# extras: ${{ matrix.plugins == 'all' }}
53+
# docs: true
54+
# html: false
55+
# tests: true
56+
# gcc-ver: ${{ matrix.gcc }}
57+
# secrets: inherit
58+
# strategy:
59+
# fail-fast: false
60+
# matrix:
61+
# include:
62+
# - gcc: 11 # baseline compatibility with ubuntu LTS 22.04
63+
# plugins: "default"
64+
# - gcc: 12 # highest available in ubuntu 22.04
65+
# plugins: "all"
6666

6767
test-windows:
6868
name: Run Windows test suite
@@ -88,26 +88,26 @@ jobs:
8888
plugins: default
8989
config: empty
9090

91-
test-linux:
92-
name: Run Linux test suite
93-
needs: build-linux
94-
uses: ./.github/workflows/test-suite.yml
95-
with:
96-
dfhack_repo: ${{ inputs.dfhack_repo }}
97-
dfhack_ref: ${{ inputs.dfhack_ref }}
98-
os: ubuntu
99-
compiler: gcc-11
100-
plugins: default
101-
config: default
102-
103-
test-linux-gcc-12-all-plugins:
104-
name: Run Linux test suite (gcc-12, all plugins)
105-
needs: build-linux
106-
uses: ./.github/workflows/test-suite.yml
107-
with:
108-
dfhack_repo: ${{ inputs.dfhack_repo }}
109-
dfhack_ref: ${{ inputs.dfhack_ref }}
110-
os: ubuntu
111-
compiler: gcc-12
112-
plugins: all
113-
config: default
91+
# test-linux:
92+
# name: Run Linux test suite
93+
# needs: build-linux
94+
# uses: ./.github/workflows/test-suite.yml
95+
# with:
96+
# dfhack_repo: ${{ inputs.dfhack_repo }}
97+
# dfhack_ref: ${{ inputs.dfhack_ref }}
98+
# os: ubuntu
99+
# compiler: gcc-11
100+
# plugins: default
101+
# config: default
102+
#
103+
# test-linux-gcc-12-all-plugins:
104+
# name: Run Linux test suite (gcc-12, all plugins)
105+
# needs: build-linux
106+
# uses: ./.github/workflows/test-suite.yml
107+
# with:
108+
# dfhack_repo: ${{ inputs.dfhack_repo }}
109+
# dfhack_ref: ${{ inputs.dfhack_ref }}
110+
# os: ubuntu
111+
# compiler: gcc-12
112+
# plugins: all
113+
# config: default

0 commit comments

Comments
 (0)