ci: different attempt at hacky path hack

This commit is contained in:
itsmattkc
2020-09-15 02:50:21 +10:00
committed by GitHub
parent 3019924e81
commit 18979abe08
+2 -3
View File
@@ -55,8 +55,7 @@ jobs:
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/turbojpeg-win.7z && 7z x turbojpeg-win.7z
- name: Acquire zlib
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/zlib-win.7z && 7z x zlib-win.7z && set PATH=%cd%;%PATH%
shell: cmd
run: curl -fLOSs --retry 3 http://olivevideoeditor.org/deps/zlib-win.7z && 7z x zlib-win.7z
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable
@@ -66,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: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Ninja"
run: PATH=$PATH:${{runner.workspace}} cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G "Ninja"
- name: Build
working-directory: ${{runner.workspace}}/build