diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 441c116ee..994c70ffa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,8 +178,8 @@ jobs: - name: Download SDL run: | - curl -LO /~https://github.com/libsdl-org/SDL/releases/download/release-$env:SDL_VERSION/SDL2-devel-$env:SDL_VERSION-mingw.tar.gz - tar -xvf SDL2-devel-$env:SDL_VERSION-mingw.tar.gz -C ${GITHUB_WORKSPACE} + curl -LO /~https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-devel-$SDL_VERSION-mingw.tar.gz + tar -xvf SDL2-devel-$SDL_VERSION-mingw.tar.gz -C ${GITHUB_WORKSPACE} - name: Install dependencies run: | @@ -187,7 +187,7 @@ jobs: sudo apt-get install ninja-build mingw-w64 - name: CMake configure (Release) - run: cmake -B release -G Ninja . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=mingw-w64-x86_64.cmake -DSDL2_LIBRARIES=${GITHUB_WORKSPACE}/SDL2-$env:SDL_VERSION/bin/SDL2.dll -DSDL2_INCLUDE_DIRS=${GITHUB_WORKSPACE}/SDL2-$env:SDL_VERSION/include + run: cmake -B release -G Ninja . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=mingw-w64-x86_64.cmake -DSDL2_LIBRARIES=${GITHUB_WORKSPACE}/SDL2-$SDL_VERSION/x86_64-w64-mingw32/bin/SDL2.dll -DSDL2_INCLUDE_DIRS=${GITHUB_WORKSPACE}/SDL2-$SDL_VERSION/x86_64-w64-mingw32/include - name: Build (Release) run: ninja -C release