From 0999a8b08fd276d60252f765b841b632f5d9c619 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 7 Nov 2021 22:44:16 +0300 Subject: 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. --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.github/workflows') 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: -- cgit v1.2.3