Skip to content

Commit 184f562

Browse files
committed
Added test build for Windows using MSYS2
1 parent 9e55e05 commit 184f562

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,32 @@ jobs:
133133
echo "***** MEMCHECK $test *****"; \
134134
valgrind ${{env.VALGRIND_ARGS}} .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1 --nofork --debug $test; \
135135
done
136+
windows_mingw64:
137+
runs-on: windows-2022
138+
defaults:
139+
run:
140+
shell: msys2 {0}
141+
steps:
142+
- name: Setup MSYS2 and install dependencies
143+
uses: msys2/setup-msys2@v2
144+
with:
145+
msystem: MINGW64
146+
release: false
147+
update: false
148+
install: >-
149+
base-devel
150+
git
151+
mingw-w64-x86_64-gcc
152+
- uses: actions/checkout@v3
153+
- name: Configure project
154+
shell: msys2 {0}
155+
run: make config TEST=1
156+
- name: Fetch project dependencies
157+
shell: msys2 {0}
158+
run: make fetch
159+
- name: Build project
160+
shell: msys2 {0}
161+
run: make VERBOSE=1
162+
- name: Run unit tests
163+
shell: msys2 {0}
164+
run: .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test.exe utest --verbose --jobs 1

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*******************************************************************************
44

55
=== 1.0.9 ===
6-
6+
* Added test build for Windows using MSYS2.
77

88
=== 1.0.8 ===
99
* Added Clang build for the CI.

0 commit comments

Comments
 (0)