1
0
Fork 0

Update CI to target SDL2

This commit is contained in:
Patryk Obara 2019-12-22 04:08:02 +01:00 committed by Patryk Obara
parent 185c8af6f5
commit 44c7fb9165
9 changed files with 15 additions and 16 deletions

View file

@ -42,7 +42,7 @@ jobs:
if: matrix.conf.compiler == 'GCC'
with:
path: 'C:/tools/msys64'
key: msys2-${{ matrix.conf.compiler }}-${{ matrix.conf.bits }}-${{ steps.get-date.outputs.date }}
key: msys2-${{ matrix.conf.compiler }}-${{ matrix.conf.bits }}-${{ steps.get-date.outputs.date }}-sdl2
- name: Install MSYS2
if: steps.cache-msys2.outputs.cache-hit != 'true'
run: choco install msys2 --no-progress
@ -82,7 +82,7 @@ jobs:
- name: Install packages
shell: pwsh
run: |
vcpkg install libpng sdl1 sdl1-net opusfile
vcpkg install libpng sdl2 sdl2-net opusfile
vcpkg integrate install
- name: Log environment
shell: pwsh
@ -103,7 +103,7 @@ jobs:
- name: Install packages
shell: pwsh
run: |
vcpkg install libpng sdl1 sdl1-net opusfile
vcpkg install libpng sdl2 sdl2-net opusfile
vcpkg integrate install
- name: Log environment
shell: pwsh
@ -139,8 +139,8 @@ jobs:
cp vs/Release/libpng16.dll dest/
cp vs/Release/ogg.dll dest/
cp vs/Release/opus.dll dest/
cp vs/Release/SDL.dll dest/
cp vs/Release/SDL_net.dll dest/
cp vs/Release/SDL2.dll dest/
cp vs/Release/SDL2_net.dll dest/
cp src/libs/zmbv/Release/zlib1.dll dest/
cp src/libs/zmbv/Release/zmbv.dll dest/
# Fill README template file