aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-07 22:44:16 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-07 22:47:35 +0300
commit0999a8b08fd276d60252f765b841b632f5d9c619 (patch)
tree9000f2f413cfe44040e5455042b8f7cea888b082 /.github/workflows/test.yml
parentworkflows/test: use windows-latest (diff)
downloadsetup-cygwin-0999a8b08fd276d60252f765b841b632f5d9c619.tar.gz
setup-cygwin-0999a8b08fd276d60252f765b841b632f5d9c619.zip
workflows/test: python3 is no longer a symlink
The upstream project seems to have made a decision to no longer make python3 a symlink to python3.X.exe, which is weird. Now we check the same thing about cc, which is still a symlink.
Diffstat (limited to '')
-rw-r--r--.github/workflows/test.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6ed85a0..694e942 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -45,7 +45,7 @@ jobs:
with:
platform: '${{ matrix.platform }}'
install-dir: C:\cg
- packages: cmake gcc python3
+ packages: cmake gcc
env: '${{ matrix.env }}'
hardlinks: '${{ matrix.hardlinks }}'
@@ -65,15 +65,15 @@ jobs:
$(Test-Path env:CYGWIN) -or $(throw '%CYGWIN% is not set!')
$($env:CYGWIN -eq '${{ matrix.env }}') -or $(throw "Unexpected %CYGWIN% value: $env:CYGWIN")
- - name: python3 is a symlink
+ - name: cc is a symlink
run: |
- $(Get-Command python3.exe -ErrorAction SilentlyContinue) -and $(throw (Get-Command python3.exe))
+ $(Get-Command cc.exe -ErrorAction SilentlyContinue) -and $(throw (Get-Command cc.exe))
if: '!matrix.hardlinks'
- - name: python3 is a hardlink
+ - name: cc is a hardlink
run: |
- $((Get-Command python3.exe).Path -eq 'C:\cg\bin\python3.exe') -or $(throw (Get-Command python3.exe))
- python3.exe --version
+ $((Get-Command cc.exe).Path -eq 'C:\cg\bin\cc.exe') -or $(throw (Get-Command cc.exe))
+ cc.exe --version
if: matrix.hardlinks
shell_igncr: