Skip to content

Commit 1df9505

Browse files
Merge branch 'aous72:master' into feature/add-32bit-tif-support
2 parents efd005d + a0ae0ee commit 1df9505

File tree

2 files changed

+51
-274
lines changed

2 files changed

+51
-274
lines changed

.github/workflows/ccp-workflow.yml

Lines changed: 47 additions & 271 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: ${{ matrix.system }} Build
2121
runs-on: ${{ matrix.runner }}
2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
- name: cmake
2525
run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON ..
2626
working-directory: build
@@ -38,7 +38,7 @@ jobs:
3838
name: ${{ matrix.system }} Build
3939
runs-on: ${{ matrix.runner }}
4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v5
4242
- name: cmake
4343
run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DOJPH_ENABLE_TIFF_SUPPORT=OFF ..
4444
working-directory: build
@@ -56,27 +56,35 @@ jobs:
5656
name: ${{ matrix.system }} Build
5757
runs-on: ${{ matrix.runner }}
5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v5
6060
- name: cmake
6161
run: cmake -G "Visual Studio 17 2022" -A x64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
6262
working-directory: build
6363
- name: build
6464
run: cmake --build . --config Release
6565
working-directory: build
6666

67-
build_mingw:
67+
build_msys2:
6868
strategy:
6969
fail-fast: false
7070
matrix:
7171
include: [
72-
{ system: Windows-MinGW, runner: windows-latest },
72+
{ system: Windows-MSYS2, runner: windows-latest },
7373
]
7474
name: ${{ matrix.system }} Build
7575
runs-on: ${{ matrix.runner }}
76+
defaults:
77+
run:
78+
shell: msys2 {0}
7679
steps:
77-
- uses: actions/checkout@v4
80+
- uses: actions/checkout@v5
81+
- uses: msys2/setup-msys2@v2
82+
with:
83+
msystem: UCRT64
84+
update: false
85+
pacboy: cc:p cmake:p libtiff:p
7886
- name: cmake
79-
run: cmake -G "MinGW Makefiles" -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
87+
run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON ..
8088
working-directory: build
8189
- name: build
8290
run: cmake --build . --config Release
@@ -92,7 +100,7 @@ jobs:
92100
name: ${{ matrix.system }} Build
93101
runs-on: ${{ matrix.runner }}
94102
steps:
95-
- uses: actions/checkout@v4
103+
- uses: actions/checkout@v5
96104
- name: cmake
97105
run: cmake -G "Visual Studio 17 2022" -A ARM64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
98106
working-directory: build
@@ -112,7 +120,7 @@ jobs:
112120
name: ${{ matrix.system }} Test
113121
runs-on: ${{ matrix.runner }}
114122
steps:
115-
- uses: actions/checkout@v4
123+
- uses: actions/checkout@v5
116124
- name: cmake
117125
run: cmake -DOJPH_BUILD_TESTS=yes ..
118126
working-directory: build
@@ -133,7 +141,7 @@ jobs:
133141
name: ${{ matrix.system }} Test
134142
runs-on: ${{ matrix.runner }}
135143
steps:
136-
- uses: actions/checkout@v4
144+
- uses: actions/checkout@v5
137145
- name: cmake
138146
run: cmake -G "Visual Studio 17 2022" -A x64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
139147
working-directory: build
@@ -144,27 +152,34 @@ jobs:
144152
run: ctest --output-on-failure -C Release
145153
working-directory: build
146154

147-
# # MinGW tests needs debugging, as they are failing to pass in my test
148-
# test_MinGW:
149-
# strategy:
150-
# fail-fast: false
151-
# matrix:
152-
# include: [
153-
# { system: Windows, runner: windows-latest },
154-
# ]
155-
# name: ${{ matrix.system }} Test
156-
# runs-on: ${{ matrix.runner }}
157-
# steps:
158-
# - uses: actions/checkout@v4
159-
# - name: cmake
160-
# run: cmake -G "MinGW Makefiles" -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
161-
# working-directory: build
162-
# - name: build
163-
# run: cmake --build . --config Release
164-
# working-directory: build
165-
# - name: test
166-
# run: ctest --output-on-failure -C Release
167-
# working-directory: build
155+
test_msys2:
156+
strategy:
157+
fail-fast: false
158+
matrix:
159+
include: [
160+
{ system: Windows-MSYS2, runner: windows-latest },
161+
]
162+
name: ${{ matrix.system }} Test
163+
runs-on: ${{ matrix.runner }}
164+
defaults:
165+
run:
166+
shell: msys2 {0}
167+
steps:
168+
- uses: actions/checkout@v5
169+
- uses: msys2/setup-msys2@v2
170+
with:
171+
msystem: UCRT64
172+
update: false
173+
pacboy: cc:p cmake:p python:p
174+
- name: cmake
175+
run: cmake -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON -DPython3_EXECUTABLE=${MINGW_PREFIX}/bin/python.exe ..
176+
working-directory: build
177+
- name: build
178+
run: cmake --build . --config Release
179+
working-directory: build
180+
- name: test
181+
run: ctest --output-on-failure -C Release
182+
working-directory: build
168183

169184
test_windows_on_arm:
170185
strategy:
@@ -176,7 +191,7 @@ jobs:
176191
name: ${{ matrix.system }} Test
177192
runs-on: ${{ matrix.runner }}
178193
steps:
179-
- uses: actions/checkout@v4
194+
- uses: actions/checkout@v5
180195
- name: cmake
181196
run: cmake -G "Visual Studio 17 2022" -A ARM64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
182197
working-directory: build
@@ -187,242 +202,3 @@ jobs:
187202
run: ctest --output-on-failure -C Release
188203
working-directory: build
189204

190-
191-
#jobs:
192-
# ci:
193-
# name: ${{ matrix.name }}
194-
# runs-on: ${{ matrix.os }}
195-
#
196-
# strategy:
197-
# fail-fast: false
198-
# matrix:
199-
# # Github Actions requires a single row to be added to the build matrix.
200-
# # See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
201-
# name: [
202-
# ubuntu-18.04-gcc-4.8,
203-
# ubuntu-18.04-gcc-4.9,
204-
# ubuntu-18.04-gcc-5,
205-
# ubuntu-18.04-gcc-6,
206-
# ubuntu-18.04-gcc-7,
207-
# ubuntu-18.04-gcc-8,
208-
# ubuntu-18.04-gcc-9,
209-
# ubuntu-18.04-clang-3.5,
210-
# ubuntu-18.04-clang-3.6,
211-
# ubuntu-18.04-clang-3.7,
212-
# ubuntu-18.04-clang-3.8,
213-
# ubuntu-18.04-clang-3.9,
214-
# ubuntu-18.04-clang-4.0,
215-
# ubuntu-18.04-clang-5.0,
216-
# ubuntu-18.04-clang-6.0,
217-
# ubuntu-18.04-clang-7,
218-
# ubuntu-18.04-clang-8,
219-
# ubuntu-18.04-clang-9,
220-
# macOS-10.14-xcode-9.4.1,
221-
# macOS-10.14-xcode-10.0,
222-
# macOS-10.14-xcode-10.1,
223-
# macOS-10.14-xcode-10.2,
224-
# macOS-10.14-xcode-10.2.1,
225-
# macOS-10.14-xcode-10.3,
226-
# macOS-10.14-gcc-7,
227-
# macOS-10.14-gcc-8,
228-
# macOS-10.14-gcc-9,
229-
# ]
230-
#
231-
# include:
232-
# - name: ubuntu-18.04-gcc-4.8
233-
# os: ubuntu-18.04
234-
# compiler: gcc
235-
# version: "4.8"
236-
#
237-
# - name: ubuntu-18.04-gcc-4.9
238-
# os: ubuntu-18.04
239-
# compiler: gcc
240-
# version: "4.9"
241-
#
242-
# - name: ubuntu-18.04-gcc-5
243-
# os: ubuntu-18.04
244-
# compiler: gcc
245-
# version: "5"
246-
#
247-
# - name: ubuntu-18.04-gcc-6
248-
# os: ubuntu-18.04
249-
# compiler: gcc
250-
# version: "6"
251-
#
252-
# - name: ubuntu-18.04-gcc-7
253-
# os: ubuntu-18.04
254-
# compiler: gcc
255-
# version: "7"
256-
#
257-
# - name: ubuntu-18.04-gcc-8
258-
# os: ubuntu-18.04
259-
# compiler: gcc
260-
# version: "8"
261-
#
262-
# - name: ubuntu-18.04-gcc-9
263-
# os: ubuntu-18.04
264-
# compiler: gcc
265-
# version: "9"
266-
#
267-
# - name: ubuntu-18.04-clang-3.5
268-
# os: ubuntu-18.04
269-
# compiler: clang
270-
# version: "3.5"
271-
#
272-
# - name: ubuntu-18.04-clang-3.6
273-
# os: ubuntu-18.04
274-
# compiler: clang
275-
# version: "3.6"
276-
#
277-
# - name: ubuntu-18.04-clang-3.7
278-
# os: ubuntu-18.04
279-
# compiler: clang
280-
# version: "3.7"
281-
#
282-
# - name: ubuntu-18.04-clang-3.8
283-
# os: ubuntu-18.04
284-
# compiler: clang
285-
# version: "3.8"
286-
#
287-
# - name: ubuntu-18.04-clang-3.9
288-
# os: ubuntu-18.04
289-
# compiler: clang
290-
# version: "3.9"
291-
#
292-
# - name: ubuntu-18.04-clang-4.0
293-
# os: ubuntu-18.04
294-
# compiler: clang
295-
# version: "4.0"
296-
#
297-
# - name: ubuntu-18.04-clang-5.0
298-
# os: ubuntu-18.04
299-
# compiler: clang
300-
# version: "5.0"
301-
#
302-
# - name: ubuntu-18.04-clang-6.0
303-
# os: ubuntu-18.04
304-
# compiler: clang
305-
# version: "6.0"
306-
#
307-
# - name: ubuntu-18.04-clang-7
308-
# os: ubuntu-18.04
309-
# compiler: clang
310-
# version: "7"
311-
#
312-
# - name: ubuntu-18.04-clang-8
313-
# os: ubuntu-18.04
314-
# compiler: clang
315-
# version: "8"
316-
#
317-
# - name: ubuntu-18.04-clang-9
318-
# os: ubuntu-18.04
319-
# compiler: clang
320-
# version: "9"
321-
#
322-
# - name: macOS-10.14-xcode-9.4.1
323-
# os: macOS-10.14
324-
# compiler: xcode
325-
# version: "9.4.1"
326-
#
327-
# - name: macOS-10.14-xcode-10.0
328-
# os: macOS-10.14
329-
# compiler: xcode
330-
# version: "10"
331-
#
332-
# - name: macOS-10.14-xcode-10.1
333-
# os: macOS-10.14
334-
# compiler: xcode
335-
# version: "10.1"
336-
#
337-
# - name: macOS-10.14-Xcode-10.2
338-
# os: macOS-10.14
339-
# compiler: xcode
340-
# version: "10.2"
341-
#
342-
# - name: macOS-10.14-xcode-10.2.1
343-
# os: macOS-10.14
344-
# compiler: xcode
345-
# version: "10.2.1"
346-
#
347-
# - name: macOS-10.14-xcode-10.3
348-
# os: macOS-10.14
349-
# compiler: xcode
350-
# version: "10.3"
351-
#
352-
# - name: macOS-10.14-gcc-7
353-
# os: macOS-10.14
354-
# compiler: gcc
355-
# version: "7"
356-
#
357-
# - name: macOS-10.14-gcc-8
358-
# os: macOS-10.14
359-
# compiler: gcc
360-
# version: "8"
361-
#
362-
# - name: macOS-10.14-gcc-9
363-
# os: macOS-10.14
364-
# compiler: gcc
365-
# version: "9"
366-
#
367-
# steps:
368-
# - uses: actions/checkout@v2
369-
# - name: cmake
370-
# run: cmake ..
371-
# working-directory: build
372-
# - name: build
373-
# run: make
374-
# working-directory: build
375-
376-
377-
378-
# build1:
379-
# name: main build for Unix-like
380-
# runs-on: ${{ matrix.os }}
381-
# strategy:
382-
# matrix:
383-
# os: [macos-10.14, macos-latest, ubuntu-16.04, ubuntu-latest]
384-
# node: [8]
385-
# steps:
386-
# - uses: actions/checkout@v2
387-
# - name: cmake
388-
# run: cmake ..
389-
# working-directory: build
390-
# - name: build
391-
# run: make
392-
# working-directory: build
393-
#
394-
# build2:
395-
# name: main build for Windows
396-
# runs-on: ${{ matrix.os }}
397-
# strategy:
398-
# matrix:
399-
# os: [windows-latest]
400-
# node: [8]
401-
# steps:
402-
# - uses: actions/checkout@v2
403-
# - name: install visual studio
404-
# run: python install.py --clang-completer --ts-completer --msvc=14
405-
# - name: cmake
406-
# run: cmake -G "Visual Studio 14 2015 Win64" ..
407-
# working-directory: build
408-
# - name: build
409-
# run: cmake --build .
410-
# working-directory: build
411-
#
412-
# build3:
413-
# name: main build for Windows
414-
# runs-on: ${{ matrix.os }}
415-
# strategy:
416-
# matrix:
417-
# os: [windows-latest]
418-
# node: [8]
419-
# steps:
420-
# - uses: actions/checkout@v2
421-
# - name: install visual studio
422-
# run: python install.py --clang-completer --ts-completer --msvc=14
423-
# - name: cmake
424-
# run: cmake -G "Visual Studio 15 2017 Win64" ..
425-
# working-directory: build
426-
# - name: build
427-
# run: cmake --build .
428-
# working-directory: build

0 commit comments

Comments
 (0)