This commit is contained in:
itsmattkc
2020-09-15 12:53:19 +10:00
committed by GitHub
parent 89fb9f24b7
commit e06b07283d
+3 -11
View File
@@ -34,35 +34,27 @@ jobs:
version: 5.15.1
- name: Acquire FFmpeg
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/ffmpeg-win.7z && 7z x ffmpeg-win.7z
- name: Acquire OpenColorIO
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/ocio-win.7z && 7z x ocio-win.7z
- name: Acquire OpenEXR
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/openexr-win.7z && 7z x openexr-win.7z
- name: Acquire OpenImageIO
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/oiio-win.7z && 7z x oiio-win.7z
- name: Acquire libpng
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/libpng-win.7z && 7z x libpng-win.7z
- name: Acquire libtiff
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/libtiff-win.7z && 7z x libtiff-win.7z
- name: Acquire turbojpeg
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/turbojpeg-win.7z && 7z x turbojpeg-win.7z
- name: Acquire zlib
working-directory: ${{runner.workspace}}/build
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/zlib-win.7z && 7z x zlib-win.7z
- name: Configure CMake
@@ -73,7 +65,7 @@ jobs:
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: PATH=$GITHUB_WORKSPACE/build:$PATH cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Ninja"
run: PATH=$GITHUB_WORKSPACE:$PATH cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Ninja"
- name: Build
working-directory: ${{runner.workspace}}/build
@@ -83,8 +75,8 @@ jobs:
- name: Create Package
working-directory: ${{runner.workspace}}/build
shell: bash
run: mkdir olive-editor && cp app/olive-editor.exe olive-editor && windeployqt olive-editor/olive-editor.exe && cp bin/*.dll olive-editor
shell: cmd
run: mkdir olive-editor && copy app\olive-editor.exe olive-editor && windeployqt olive-editor\olive-editor.exe && copy %GITHUB_WORKSPACE%\bin\*.dll olive-editor
- name: Test
working-directory: ${{runner.workspace}}/build