Skip to content

Commit ab7d703

Browse files
authored
CI msys2/ucrt64 (#749)
Create msys2.yml
1 parent b3e7e24 commit ab7d703

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/msys2.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: MSYS2
2+
on: [push, pull_request]
3+
4+
jobs:
5+
msys2-ucrt64:
6+
runs-on: windows-latest
7+
defaults:
8+
run:
9+
shell: msys2 {0}
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: msys2/setup-msys2@v2
13+
with:
14+
msystem: UCRT64
15+
update: true
16+
install: git bison flex mingw-w64-ucrt-x86_64-cc mingw-w64-ucrt-x86_64-fc mingw-w64-ucrt-x86_64-gcc-libgfortran mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-msmpi mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-hwloc
17+
- name: CI-Build
18+
run: |
19+
mkdir build
20+
cd build
21+
export CFLAGS+=" -D_GNU_SOURCE -Wno-attributes -Wno-incompatible-pointer-types -Wno-implicit-function-declaration"
22+
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPARSEC_DIST_WITH_MPI=OFF ..
23+
cmake --build . -j $(nproc)

0 commit comments

Comments
 (0)