Skip to content

Commit f9f82c9

Browse files
committed
update build workflow
1 parent 325e55a commit f9f82c9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/buildcommit.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
PLATFORM_PREFIX: ${{matrix.platformtools}}
3131
EMULATOR: ${{matrix.emulator}}
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
3434
- name: install multilib
3535
run: sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib
3636
if: ${{ matrix.name == 'i386' }}
@@ -53,7 +53,7 @@ jobs:
5353
path: lib/${{ env.abiname }}/libstackman.a
5454

5555
build-windows:
56-
runs-on: windows-2019
56+
runs-on: windows-latest
5757
strategy:
5858
fail-fast: true
5959
matrix:
@@ -71,17 +71,17 @@ jobs:
7171
folder: arm64
7272

7373
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
7676
- name: build
77-
run: msbuild.exe vs2019\stackman.sln /p:Platform=${{matrix.platform}}
77+
run: msbuild.exe vs2022\stackman.sln /p:Platform=${{matrix.platform}}
7878
- name: strip timestamps from lib
7979
run: python tools/strip-lib.py lib/win_${{matrix.platform}}/stackman.lib
8080
- 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}}
8282
- name: test
8383
if: ${{ matrix.native == 'yes' }}
84-
run: vs2019\${{matrix.folder}}\Debug\test.exe
84+
run: vs2022\${{matrix.folder}}\Debug\test.exe
8585
- name: Upload build artifacts
8686
uses: actions/upload-artifact@v4
8787
with:
@@ -93,7 +93,7 @@ jobs:
9393
needs: [build-linux-gnu, build-windows]
9494
if: ${{ github.event_name == 'push' }}
9595
steps:
96-
- uses: actions/checkout@v2
96+
- uses: actions/checkout@v4
9797
- uses: actions/download-artifact@v4
9898
with:
9999
path: lib

0 commit comments

Comments
 (0)