Fix node windows workflow (#2263)

This commit is contained in:
Andrew Calcutt
2024-04-15 20:13:20 -04:00
committed by GitHub
parent 29e802e2b9
commit 8ab7771cd6

View File

@@ -82,7 +82,7 @@ jobs:
# A release for macOS can be made from the opengl-2 branch
# - runs-on: macos-12
# arch: x86_64
# - runs-on: [self-hosted, macOS, ARM64]
# - runs-on: macos-13
# arch: arm64
- runs-on: windows-2022
arch: x86_64
@@ -118,7 +118,6 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: |
brew list cmake || brew install cmake
brew list ccache || brew install ccache
brew list ninja || brew install ninja
brew list pkg-config || brew install pkg-config
@@ -165,11 +164,15 @@ jobs:
$env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", ""
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Setup cmake (Linux)
if: runner.os == 'Linux' && matrix.arch != 'arm64'
uses: jwlawson/actions-setup-cmake@v2.0
- name: Setup cmake
if: ${{contains(runner.name, 'GitHub Actions')}}
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: "3.19.x"
cmake-version: '3.29.2'
- name: cmake version
run: |
cmake --version
- name: Set up ccache (MacOS/Linux)
if: runner.os == 'MacOS' || runner.os == 'Linux'