-
-
Notifications
You must be signed in to change notification settings - Fork 222
51 lines (44 loc) · 1.2 KB
/
cygwin.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: Build with Cygwin
on:
push:
branches:
- "master"
- "flake"
- "ga"
pull_request:
branches:
- "master"
# run workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install cached Cygwin
id: cache
uses: actions/cache@v3
with:
path: C:\tools\cygwin
key: 'cygwin'
- name: Install Cygwin
if: steps.cache.outputs.cache-hit != 'true'
uses: egor-tensin/[email protected]
with:
packages: gcc-core make chere
- name: make matrix
run: |
cd "$GITHUB_WORKSPACE"
./configure
cat config.log
make -j$(nproc) check o//test/blink
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- name: Test with VFS enabled
run: |
cd "$GITHUB_WORKSPACE"
./configure --enable-vfs
cat config.log
export BLINK_PREFIX="o"
make -j$(nproc) check o//test/blink
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'