Skip to content

Commit 77383ef

Browse files
committed
Try windows 2019
1 parent 5fd8742 commit 77383ef

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
name: Build
4848
strategy:
4949
matrix:
50-
os: [ubuntu-20.04, windows-2022, macos-11, [self-hosted, linux, ARM64]]
50+
os: [ubuntu-20.04, windows-2019, macos-11, [self-hosted, linux, ARM64]]
5151

5252
runs-on: ${{ matrix.os }}
5353

@@ -68,18 +68,18 @@ jobs:
6868
run: npm ci --ignore-scripts
6969

7070
- name: Add msbuild to PATH
71-
if: matrix.os == 'windows-2022'
71+
if: matrix.os == 'windows-2019'
7272
uses: microsoft/setup-msbuild@v1.1
7373

7474
- name: Build Pre Step
7575
run: chmod +x src/extract.sh && src/extract.sh
7676

7777
- name: Build Unix
78-
if: matrix.os != 'windows-2022'
78+
if: matrix.os != 'windows-2019'
7979
run: node src/build-unix
8080

8181
- name: Build Windows
82-
if: matrix.os == 'windows-2022'
82+
if: matrix.os == 'windows-2019'
8383
shell: cmd
8484
run: src/windows.cmd
8585

src/windows.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
msbuild /p:Platform=x64 /p:Configuration=Release /p:PlatformToolset=v143 src\FreeImage\FreeImage.2013.vcxproj
1+
msbuild /p:Platform=x64 /p:Configuration=Release /p:PlatformToolset=v142 src\FreeImage\FreeImage.2013.vcxproj
22

33
copy /y src\FreeImage\Dist\x64\FreeImage.dll src\build\FreeImage.dll
44
copy /y src\FreeImage\Dist\x64\FreeImage.lib src\build\FreeImage.lib

0 commit comments

Comments
 (0)