File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -151,15 +151,15 @@ jobs:
151151 working-directory : ${{ inputs.cwd }}
152152
153153 - name : Compress the binary on Windows
154- if : inputs.runner == 'windows-latest '
154+ if : inputs.runner == 'windows-2022 '
155155 run : |
156156 tar -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm.exe
157157 Compress-Archive -Path iwasm.exe -DestinationPath iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.zip
158158 mv iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.* ../
159159 working-directory : ${{ inputs.cwd }}/build/Release
160160
161161 - name : compress the binary on non-Windows
162- if : inputs.runner != 'windows-latest '
162+ if : inputs.runner != 'windows-2022 '
163163 run : |
164164 # Follow the symlink to the actual binary file
165165 tar --dereference -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm
Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ jobs:
118118 key : 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}
119119 restore-keys : |
120120 0-ccache-${{ inputs.os }}
121- if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'windows-latest '
121+ if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'windows-2022 '
122122
123123 # Install tools on Windows
124124 - run : choco install -y ccache ninja
125- if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'windows-latest '
125+ if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true' && inputs.os == 'windows-2022 '
126126
127127 - name : Build LLVM libraries
128128 if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ jobs:
8787 working-directory : wamr-compiler
8888
8989 - name : Compress the binary on Windows
90- if : inputs.runner == 'windows-latest ' && inputs.release
90+ if : inputs.runner == 'windows-2022 ' && inputs.release
9191 run : |
9292 tar -czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc.exe
9393 Compress-Archive -Path wamrc.exe -DestinationPath wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.zip
9494 mv wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.* ../
9595 working-directory : wamr-compiler/build/Release
9696
9797 - name : compress the binary on non-Windows
98- if : inputs.runner != 'windows-latest ' && inputs.release
98+ if : inputs.runner != 'windows-2022 ' && inputs.release
9999 run : |
100100 # Follow the symlink to the actual binary file
101101 tar --dereference -czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc
Original file line number Diff line number Diff line change 11# Copyright (C) 2019 Intel Corporation. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
4- name : compilation on windows-latest
4+ name : compilation on windows-2022
55
66on :
77 # will be triggered on PR events
@@ -63,11 +63,11 @@ jobs:
6363 actions : write
6464 uses : ./.github/workflows/build_llvm_libraries.yml
6565 with :
66- os : " windows-latest "
66+ os : " windows-2022 "
6767 arch : " AArch64 ARM Mips RISCV X86"
6868
6969 build_iwasm :
70- runs-on : windows-latest
70+ runs-on : windows-2022
7171 strategy :
7272 matrix :
7373 build_options :
@@ -105,7 +105,7 @@ jobs:
105105 strategy :
106106 matrix :
107107 include :
108- - os : windows-latest
108+ - os : windows-2022
109109 llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
110110 steps :
111111 - name : checkout
@@ -136,7 +136,7 @@ jobs:
136136 working-directory : wamr-compiler
137137
138138 test :
139- runs-on : windows-latest
139+ runs-on : windows-2022
140140 needs : [build_iwasm, build_wamrc]
141141 strategy :
142142 fail-fast : false
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105105 needs : [create_tag, create_release]
106106 uses : ./.github/workflows/build_llvm_libraries.yml
107107 with :
108- os : " windows-latest "
108+ os : " windows-2022 "
109109 arch : " AArch64 ARM Mips RISCV X86"
110110
111111 #
@@ -142,7 +142,7 @@ jobs:
142142 with :
143143 llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
144144 release : true
145- runner : windows-latest
145+ runner : windows-2022
146146 upload_url : ${{ needs.create_release.outputs.upload_url }}
147147 ver_num : ${{ needs.create_tag.outputs.new_ver }}
148148
@@ -180,7 +180,7 @@ jobs:
180180 with :
181181 cwd : product-mini/platforms/windows
182182 llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
183- runner : windows-latest
183+ runner : windows-2022
184184 upload_url : ${{ needs.create_release.outputs.upload_url }}
185185 ver_num : ${{ needs.create_tag.outputs.new_ver}}
186186
You can’t perform that action at this time.
0 commit comments