[Scummvm-git-logs] scummvm master -> b82df5b714f3828b0328db62a10e7adabc0e13e5
sev-
sev at scummvm.org
Sat Jul 18 10:11:35 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b82df5b714 CI: Add GitHub Actions-based CI to excercise vcpkg and MSVC AArch64
Commit: b82df5b714f3828b0328db62a10e7adabc0e13e5
https://github.com/scummvm/scummvm/commit/b82df5b714f3828b0328db62a10e7adabc0e13e5
Author: MichaÅ Janiszewski (janisozaur at gmail.com)
Date: 2020-07-18T12:11:31+02:00
Commit Message:
CI: Add GitHub Actions-based CI to excercise vcpkg and MSVC AArch64
Changed paths:
A .github/workflows/ci.yml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000000..eacd2fabac
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,86 @@
+name: CI
+on: [push, pull_request]
+jobs:
+ windows:
+ name: Windows
+ runs-on: windows-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - platform: win32
+ triplet: x86-windows
+ arch: x86
+ vcpkgPackages: 'curl faad2 fluidsynth freetype fribidi libflac libjpeg-turbo libmad libmpeg2 libogg libpng libtheora libvorbis sdl2 sdl2-net zlib'
+ useNasm: 'true'
+ - platform: x64
+ arch: x64
+ triplet: x64-windows
+ vcpkgPackages: 'curl faad2 fluidsynth freetype fribidi libflac libjpeg-turbo libmad libmpeg2 libogg libpng libtheora libvorbis sdl2 sdl2-net zlib'
+ - platform: arm64
+ arch: arm64
+ triplet: arm64-windows
+ vcpkgPackages: 'curl faad2 fluidsynth freetype libflac libjpeg-turbo libmad libmpeg2 libogg libpng libtheora libvorbis sdl2 sdl2-net zlib'
+ env:
+ CONFIGURATION: Release
+ PLATFORM: ${{ matrix.platform }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout at v2
+ - uses: ilammy/setup-nasm at v1
+ if: ${{ matrix.useNasm }} == 'true'
+ - name: Install vcpkg and packages
+ uses: lukka/run-vcpkg at v2
+ id: runvcpkg
+ with:
+ vcpkgGitCommitId: 2f7a104d4d6f1f3790db929f85a4086aa6973d7f
+ vcpkgTriplet: '${{ matrix.triplet }}'
+ vcpkgArguments: '${{ matrix.vcpkgPackages }}'
+ - name: Upload libs
+ uses: actions/upload-artifact at v2
+ with:
+ name: libs-${{ matrix.triplet }}
+ path: ${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}
+ - name: Build create_project
+ run: |
+ cd devtools/create_project/cmake
+ cmake .
+ cmake --build . -j 2
+ ls
+ cd ../../../
+ - name: Call create_project
+ run: |
+ mkdir build-scummvm
+ cd build-scummvm
+ ../devtools/create_project/cmake/Debug/create_project.exe .. --msvc --enable-faad --enable-mpeg2 --use-canonical-lib-names
+ ls
+ - name: set SCUMMVM_LIBS env variable
+ run: |
+ echo "::set-env name=SCUMMVM_LIBS::${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}"
+ - name: Add msbuild to PATH
+ uses: microsoft/setup-msbuild at v1.0.0
+ - name: Build scummvm
+ run: |
+ cd build-scummvm
+ ls
+ msbuild scummvm.sln /m /p:BuildInParallel=true /p:Configuration=Release /p:Platform=${{ matrix.platform }}
+ - name: Upload scummvm
+ uses: actions/upload-artifact at v2
+ with:
+ name: scummvm-${{ matrix.arch }}
+ path: build-scummvm/Release${{ matrix.arch }}/*.exe
+ - name: Upload scummvm libs
+ uses: actions/upload-artifact at v2
+ with:
+ name: scummvm-${{ matrix.arch }}
+ path: ${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}\\bin\\*.dll
+ - name: Upload scummvm symbols
+ uses: actions/upload-artifact at v2
+ with:
+ name: symbols-${{ matrix.arch }}
+ path: build-scummvm/Release${{ matrix.arch }}/*.pdb
+ - name: Upload scummvm libs symbols
+ uses: actions/upload-artifact at v2
+ with:
+ name: symbols-${{ matrix.arch }}
+ path: ${{ steps.runvcpkg.outputs.RUNVCPKG_VCPKG_ROOT_OUT }}\\installed\\${{ matrix.triplet }}\\bin\\*.pdb
More information about the Scummvm-git-logs
mailing list