mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Add support for release builds for Windows ARM64
This commit is contained in:
21
.github/workflows/release.yaml
vendored
21
.github/workflows/release.yaml
vendored
@@ -22,8 +22,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
windows_build:
|
||||
name: Windows Build (vcpkg / ${{ matrix.triplet }})
|
||||
runs-on: [windows-latest]
|
||||
runs-on: ${{ matrix.runs_on }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -31,15 +30,27 @@ jobs:
|
||||
- triplet: x86-windows-dynamic
|
||||
arch: '-A Win32'
|
||||
build_shared_libs: 'ON'
|
||||
runs_on: windows-latest
|
||||
- triplet: x64-windows-dynamic
|
||||
arch: '-A x64'
|
||||
build_shared_libs: 'ON'
|
||||
runs_on: windows-latest
|
||||
- triplet: arm64-windows-dynamic
|
||||
arch: '-A ARM64'
|
||||
build_shared_libs: 'ON'
|
||||
runs_on: windows-11-arm
|
||||
- triplet: x86-windows-static
|
||||
arch: '-A Win32'
|
||||
build_shared_libs: 'OFF'
|
||||
runs_on: windows-latest
|
||||
- triplet: x64-windows-static
|
||||
arch: '-A x64'
|
||||
build_shared_libs: 'OFF'
|
||||
runs_on: windows-latest
|
||||
- triplet: arm64-windows-static
|
||||
arch: '-A ARM64'
|
||||
build_shared_libs: 'OFF'
|
||||
runs_on: windows-11-arm
|
||||
|
||||
env:
|
||||
VCPKG_VERSION: '2022.11.14'
|
||||
@@ -61,12 +72,10 @@ jobs:
|
||||
|
||||
- name: Download vcpkg
|
||||
if: steps.cache-vcpkg.outputs.cache-hit != 'true'
|
||||
# wget doesn't seem to work under bash.
|
||||
shell: 'powershell'
|
||||
run: |
|
||||
C:\msys64\usr\bin\wget.exe -nv `
|
||||
https://github.com/microsoft/vcpkg/archive/refs/tags/${{ env.VCPKG_VERSION }}.zip `
|
||||
-O vcpkg.zip
|
||||
Invoke-WebRequest -Uri "https://github.com/microsoft/vcpkg/archive/refs/tags/${{ env.VCPKG_VERSION }}.zip" -OutFile "vcpkg.zip"
|
||||
|
||||
- name: Bootstrap vcpkg
|
||||
if: steps.cache-vcpkg.outputs.cache-hit != 'true'
|
||||
shell: 'bash'
|
||||
|
||||
Reference in New Issue
Block a user