-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (45 loc) · 1.15 KB
/
msys2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Windows MINGW32/64 gcc/clang
on: [push, pull_request]
jobs:
windows-mingw:
name: ${{ matrix.sys }}
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
fail-fast: false
matrix:
sys: [ UCRT64, CLANG64, MINGW64, MINGW32 ]
steps:
- name: install msys2
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
pactoys
git
unzip
pacboy: >-
toolchain
cmake
ninja
ruby
curl
libevent
diffutils
- name: checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: install restinio dependencies
run: |
cd ext/restinio
gem install Mxx_ru
mxxruexternals
cd ../..
- name: Configure
run: cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=debug -DNOPCH=ON -DBINFUSE_TEST=OFF -DHIBP_TEST=ON
- name: Build
run: cmake --build build