From bc297fa30813eaa73fa200492b40adcab133f9d4 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Thu, 7 Sep 2023 16:41:44 -0700 Subject: [PATCH] GitHub Actions (Windows): Fix link issue The build is running a different link.exe than the MSVC linker, possibly the one provided by bash. Fix by deleting /usr/bin/link.exe See: https://yncat.github.io/2022/02/18/github-actions%E3%81%A7-msvc-%E3%81%AE-link-%E3%81%8C%E4%BD%BF%E3%81%88%E3%81%AA%E3%81%8F%E3%81%AA%E3%82%8B%E8%A9%B1.html --- .github/workflows/cmake.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 6208c93a18..422e2911ae 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -24,6 +24,10 @@ jobs: runs-on: windows-2019 steps: + - name: Die, link!!!!! + run: rm /usr/bin/link.exe + shell: bash + - uses: actions/checkout@v1 - name: Install Build Tools