30
30
PLATFORM_PREFIX : ${{matrix.platformtools}}
31
31
EMULATOR : ${{matrix.emulator}}
32
32
steps :
33
- - uses : actions/checkout@v2
33
+ - uses : actions/checkout@v4
34
34
- name : install multilib
35
35
run : sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib
36
36
if : ${{ matrix.name == 'i386' }}
53
53
path : lib/${{ env.abiname }}/libstackman.a
54
54
55
55
build-windows :
56
- runs-on : windows-2019
56
+ runs-on : windows-latest
57
57
strategy :
58
58
fail-fast : true
59
59
matrix :
@@ -71,17 +71,17 @@ jobs:
71
71
folder : arm64
72
72
73
73
steps :
74
- - uses : actions/checkout@v2
75
- - uses : microsoft/setup-msbuild@v1.0.2
74
+ - uses : actions/checkout@v4
75
+ - uses : microsoft/setup-msbuild@v2
76
76
- name : build
77
- run : msbuild.exe vs2019 \stackman.sln /p:Platform=${{matrix.platform}}
77
+ run : msbuild.exe vs2022 \stackman.sln /p:Platform=${{matrix.platform}}
78
78
- name : strip timestamps from lib
79
79
run : python tools/strip-lib.py lib/win_${{matrix.platform}}/stackman.lib
80
80
- name : rebuild after stripping
81
- run : msbuild.exe vs2019 \stackman.sln /p:Platform=${{matrix.platform}}
81
+ run : msbuild.exe vs2022 \stackman.sln /p:Platform=${{matrix.platform}}
82
82
- name : test
83
83
if : ${{ matrix.native == 'yes' }}
84
- run : vs2019 \${{matrix.folder}}\Debug\test.exe
84
+ run : vs2022 \${{matrix.folder}}\Debug\test.exe
85
85
- name : Upload build artifacts
86
86
uses : actions/upload-artifact@v4
87
87
with :
93
93
needs : [build-linux-gnu, build-windows]
94
94
if : ${{ github.event_name == 'push' }}
95
95
steps :
96
- - uses : actions/checkout@v2
96
+ - uses : actions/checkout@v4
97
97
- uses : actions/download-artifact@v4
98
98
with :
99
99
path : lib
0 commit comments