Skip to content

Commit d0c5fa3

Browse files
billziss-ghNikratio
authored andcommitted
Add AppVeyor CI for Cygwin
1 parent eac4207 commit d0c5fa3

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Diff for: .appveyor.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: '{build}'
2+
3+
install:
4+
5+
# install WinFsp
6+
- appveyor DownloadFile https://github.com/billziss-gh/winfsp/releases/download/v1.4B2/winfsp-1.4.18211.msi
7+
- for %%f in ("winfsp-*.msi") do start /wait msiexec /i %%f /qn INSTALLLEVEL=1000
8+
9+
# install FUSE for Cygwin (64-bit and 32-bit)
10+
- C:\cygwin64\bin\env.exe -i PATH=/bin bash "%ProgramFiles(x86)%\WinFsp\opt\cygfuse\install.sh"
11+
- C:\cygwin\bin\env.exe -i PATH=/bin bash "%ProgramFiles(x86)%\WinFsp\opt\cygfuse\install.sh"
12+
13+
# install additional Cygwin packages (64-bit and 32-bit)
14+
- C:\cygwin64\setup-x86_64.exe -qnNdO -R C:\cygwin64 -s http://cygwin.mirror.constant.com -l C:\cygwin64\var\cache\setup -P libglib2.0-devel -P meson
15+
- C:\cygwin\setup-x86.exe -qnNdO -R C:\cygwin -s http://cygwin.mirror.constant.com -l C:\cygwin\var\cache\setup -P libglib2.0-devel -P meson
16+
17+
build_script:
18+
- C:\cygwin64\bin\env.exe -i PATH=/bin bash test\appveyor-build.sh
19+
- C:\cygwin\bin\env.exe -i PATH=/bin bash test\appveyor-build.sh

Diff for: test/appveyor-build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
machine=$(uname -m)
4+
mkdir build-$machine
5+
cd build-$machine
6+
meson ..
7+
ninja

0 commit comments

Comments
 (0)