@@ -79,32 +79,38 @@ jobs:
7979 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8080
8181 windows :
82- runs-on : windows-latest
8382 strategy :
8483 matrix :
85- build_type : [Release, Debug]
84+ os : [ windows-latest, windows-11-arm ]
85+ build_type : [ Release, Debug ]
8686 fail-fast : false
87+ runs-on : ${{ matrix.os }}
8788 steps :
88- - uses : actions/checkout@v4
89+ - uses : actions/checkout@v6
8990 - shell : bash
9091 run : python3 script/check_release.py --version ${{ env.version }} --build-type ${{ matrix.build_type }}
9192 if : ${{ github.event.inputs.skip_release != 'true' }}
9293 env :
9394 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94- - uses : abdes/gha-setup-ninja@660f330a40aefa8d11632b3f901e92a4adb33d65
95- - uses : microsoft/setup-msbuild@v1
95+ - run : |
96+ ninja --version
97+ $os_arch = "${{ runner.arch }}".ToLower()
98+ echo "os_arch=$os_arch" >> $env:GITHUB_ENV
99+ - uses : microsoft/setup-msbuild@v3
100+ with :
101+ msbuild-architecture : ${{ env.os_arch }}
96102 - uses : ilammy/msvc-dev-cmd@v1
97103 with :
98- arch : amd64
104+ arch : ${{ env.os_arch }}
99105 - shell : bash
100106 run : python3 script/checkout.py --version ${{ env.version }}
101107 - shell : bash
102108 run : python3 script/build.py --build-type ${{ matrix.build_type }}
103109 - shell : bash
104110 run : python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }}
105- - uses : actions/upload-artifact@v4
111+ - uses : actions/upload-artifact@v7
106112 with :
107- name : Skia-${{ env.version }}-windows-${{ matrix.build_type }}-x64 .zip
113+ name : Skia-${{ env.version }}-windows-${{ matrix.build_type }}-${{ env.os_arch }} .zip
108114 path : ' *.zip'
109115 - shell : bash
110116 run : python3 script/release.py --version ${{ env.version }} --build-type ${{ matrix.build_type }}
0 commit comments