File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,3 +138,32 @@ jobs:
138138 ninja -C builddir
139139 - name : Run tests
140140 run : meson test -C builddir
141+ windows :
142+ runs-on : windows-latest
143+ defaults :
144+ run :
145+ shell : msys2 {0}
146+ steps :
147+ - uses : msys2/setup-msys2@v2
148+ with :
149+ update : true
150+ install : >-
151+ flex
152+ bison
153+ mingw-w64-x86_64-meson
154+ mingw-w64-x86_64-python-pip
155+ mingw-w64-x86_64-toolchain
156+ mingw-w64-x86_64-openssl
157+ mingw-w64-x86_64-python-certifi
158+ - uses : actions/checkout@v3
159+ - name : Install system certs for python
160+ run : |
161+ pip install pip-system-certs
162+ echo "REQUESTS_CA_BUNDLE=$(python -m certifi)" >> $GITHUB_ENV
163+ echo "SSL_CERT_FILE=$(python -m certifi)" >> $GITHUB_ENV
164+ - name : Build cps-config
165+ run : |
166+ meson setup builddir -Dunity=on -Dunity_size=12
167+ ninja -C builddir
168+ - name : Run tests
169+ run : meson test -C builddir
You can’t perform that action at this time.
0 commit comments