aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-23 22:43:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-23 22:43:43 +0300
commit96b59e5cdfcb5e21bdb1dfec22d21b72ef084b5b (patch)
tree3b2ac46c2e9acace4e9a97bb4e54d678d67be046 /.github/workflows
parentREADME: update (diff)
downloadsetup-cygwin-96b59e5cdfcb5e21bdb1dfec22d21b72ef084b5b.tar.gz
setup-cygwin-96b59e5cdfcb5e21bdb1dfec22d21b72ef084b5b.zip
workflows/test.yml: check %CYGWIN%
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 99c3ca7..13f5702 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -15,6 +15,7 @@ jobs:
matrix:
os: [windows-2019]
platform: [x86, x64]
+ env: ['', 'winsymlinks:nativestrict']
include:
- {os: windows-2019, name: Windows Server 2019}
@@ -38,6 +39,7 @@ jobs:
platform: '${{ matrix.platform }}'
install-dir: C:\cg
packages: cmake gcc
+ env: '${{ matrix.env }}'
- name: Run bash
run: |
@@ -47,3 +49,8 @@ jobs:
- name: Run cmake
run: |
C:\cg\bin\cmake.exe --version
+
+ - name: Check CYGWIN environment variable
+ run: |
+ $(Test-Path env:CYGWIN) -or $(throw '%CYGWIN% is not set!')
+ $($env:CYGWIN -eq '${{ matrix.env }}') -or $(throw "Unexpected %CYGWIN% value: $env:CYGWIN")