@@ -19,10 +19,16 @@ jobs:
1919 os : " ubuntu-latest"
2020 # os: ['self-hosted', 'linux', 'RISCV64']
2121 - id : ' darwin-amd64'
22+ os : ' macos-13'
23+ tar_extra_args : ' '
24+ - id : ' darwin-aarch64'
2225 os : ' macos-latest'
2326 tar_extra_args : ' '
27+ # When unpacking an archive on Windows, the symlinks can't be
28+ # created unless the target path already exists. This causes
29+ # problems when the linked file is ordered after the link
2430 - id : ' windows-amd64'
25- os : ' windows-2019 '
31+ os : ' windows-2022 '
2632 # When unpacking an archive on Windows, the symlinks can't be
2733 # created unless the target path already exists. This causes
2834 # problems when the linked file is ordered after the link
@@ -64,12 +70,11 @@ jobs:
6470 run : |
6571 brew install ninja
6672
67- # TODO(jubianchi): Re-enable this to build on MingW
68- # - name: Install `ninja` on Windows
69- # if: startsWith(matrix.target.id, 'windows-')
70- # shell: bash
71- # run: |
72- # choco install ninja
73+ - name : Install `ninja` on Windows
74+ if : startsWith(matrix.target.id, 'windows-')
75+ shell : bash
76+ run : |
77+ choco install ninja
7378
7479 - name : Build
7580 if : matrix.target.id != 'windows-amd64' && matrix.target.id != 'linux-aarch64' && matrix.target.id != 'linux-riscv64'
@@ -169,7 +174,7 @@ jobs:
169174 with :
170175 upload_url : ${{ steps.create_release.outputs.upload_url }}
171176 asset_path : artifacts/linux-aarch64-${{matrix.llvm_version}}/llvm.tar.xz
172- asset_name : linux-aarch64.tar.xz
177+ asset_name : llvm- linux-aarch64.tar.xz
173178 asset_content_type : application/gzip
174179
175180 - name : Upload Release Asset Linux (RISCV64)
@@ -179,7 +184,7 @@ jobs:
179184 with :
180185 upload_url : ${{ steps.create_release.outputs.upload_url }}
181186 asset_path : artifacts/linux-riscv64-${{matrix.llvm_version}}/llvm.tar.xz
182- asset_name : linux-riscv64.tar.xz
187+ asset_name : llvm- linux-riscv64.tar.xz
183188 asset_content_type : application/gzip
184189
185190 - name : Upload Release Asset Darwin
@@ -192,6 +197,16 @@ jobs:
192197 asset_name : llvm-darwin-amd64.tar.xz
193198 asset_content_type : application/gzip
194199
200+ - name : Upload Release Asset Darwin (aarch64)
201+ uses : actions/upload-release-asset@v1
202+ env :
203+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
204+ with :
205+ upload_url : ${{ steps.create_release.outputs.upload_url }}
206+ asset_path : artifacts/darwin-aarch64-${{matrix.llvm_version}}/llvm.tar.xz
207+ asset_name : llvm-darwin-aarch64.tar.xz
208+ asset_content_type : application/gzip
209+
195210 - name : Upload Release Asset Windows
196211 uses : actions/upload-release-asset@v1
197212 env :
0 commit comments