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:
151
151
working-directory : ${{ inputs.cwd }}
152
152
153
153
- name : Compress the binary on Windows
154
- if : inputs.runner == 'windows-latest '
154
+ if : inputs.runner == 'windows-2022 '
155
155
run : |
156
156
tar -czf iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz iwasm.exe
157
157
Compress-Archive -Path iwasm.exe -DestinationPath iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.zip
158
158
mv iwasm${{ matrix.suffix }}-${{ inputs.ver_num }}-${{ inputs.runner }}.* ../
159
159
working-directory : ${{ inputs.cwd }}/build/Release
160
160
161
161
- name : compress the binary on non-Windows
162
- if : inputs.runner != 'windows-latest '
162
+ if : inputs.runner != 'windows-2022 '
163
163
run : |
164
164
# Follow the symlink to the actual binary file
165
165
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:
118
118
key : 0-ccache-${{ inputs.os }}-${{ steps.get_last_commit.outputs.last_commit }}
119
119
restore-keys : |
120
120
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 '
122
122
123
123
# Install tools on Windows
124
124
- 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 '
126
126
127
127
- name : Build LLVM libraries
128
128
if : steps.retrieve_llvm_libs.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -87,15 +87,15 @@ jobs:
87
87
working-directory : wamr-compiler
88
88
89
89
- name : Compress the binary on Windows
90
- if : inputs.runner == 'windows-latest ' && inputs.release
90
+ if : inputs.runner == 'windows-2022 ' && inputs.release
91
91
run : |
92
92
tar -czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc.exe
93
93
Compress-Archive -Path wamrc.exe -DestinationPath wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.zip
94
94
mv wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.* ../
95
95
working-directory : wamr-compiler/build/Release
96
96
97
97
- name : compress the binary on non-Windows
98
- if : inputs.runner != 'windows-latest ' && inputs.release
98
+ if : inputs.runner != 'windows-2022 ' && inputs.release
99
99
run : |
100
100
# Follow the symlink to the actual binary file
101
101
tar --dereference -czf wamrc-${{ inputs.ver_num }}-${{ inputs.runner }}.tar.gz wamrc
Original file line number Diff line number Diff line change 1
1
# Copyright (C) 2019 Intel Corporation. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3
3
4
- name : compilation on windows-latest
4
+ name : compilation on windows-2022
5
5
6
6
on :
7
7
# will be triggered on PR events
@@ -63,11 +63,11 @@ jobs:
63
63
actions : write
64
64
uses : ./.github/workflows/build_llvm_libraries.yml
65
65
with :
66
- os : " windows-latest "
66
+ os : " windows-2022 "
67
67
arch : " AArch64 ARM Mips RISCV X86"
68
68
69
69
build_iwasm :
70
- runs-on : windows-latest
70
+ runs-on : windows-2022
71
71
strategy :
72
72
matrix :
73
73
build_options :
@@ -105,7 +105,7 @@ jobs:
105
105
strategy :
106
106
matrix :
107
107
include :
108
- - os : windows-latest
108
+ - os : windows-2022
109
109
llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
110
110
steps :
111
111
- name : checkout
@@ -136,7 +136,7 @@ jobs:
136
136
working-directory : wamr-compiler
137
137
138
138
test :
139
- runs-on : windows-latest
139
+ runs-on : windows-2022
140
140
needs : [build_iwasm, build_wamrc]
141
141
strategy :
142
142
fail-fast : false
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105
105
needs : [create_tag, create_release]
106
106
uses : ./.github/workflows/build_llvm_libraries.yml
107
107
with :
108
- os : " windows-latest "
108
+ os : " windows-2022 "
109
109
arch : " AArch64 ARM Mips RISCV X86"
110
110
111
111
#
@@ -142,7 +142,7 @@ jobs:
142
142
with :
143
143
llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
144
144
release : true
145
- runner : windows-latest
145
+ runner : windows-2022
146
146
upload_url : ${{ needs.create_release.outputs.upload_url }}
147
147
ver_num : ${{ needs.create_tag.outputs.new_ver }}
148
148
@@ -180,7 +180,7 @@ jobs:
180
180
with :
181
181
cwd : product-mini/platforms/windows
182
182
llvm_cache_key : ${{ needs.build_llvm_libraries_on_windows.outputs.cache_key }}
183
- runner : windows-latest
183
+ runner : windows-2022
184
184
upload_url : ${{ needs.create_release.outputs.upload_url }}
185
185
ver_num : ${{ needs.create_tag.outputs.new_ver}}
186
186
You can’t perform that action at this time.
0 commit comments