Skip to content

Commit

Permalink
Update cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
r41k0u authored Oct 11, 2023
1 parent 351508c commit 20739a2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,15 @@ jobs:
if [ "$RUNNER_OS" == "Windows" ]; then
curl -L -O https://www.libsdl.org/release/SDL2-devel-2.28.4-VC.zip
7z x SDL2-devel-2.28.4-VC.zip -oSDL2
echo "SDL2_DIR=${{ github.workspace }}\SDL2\SDL2-2.0.14" >> $GITHUB_ENV
echo "SDL2_LIB=${{ github.workspace }}\SDL2\SDL2-2.0.14\lib\x64" >> $GITHUB_ENV
echo "SDL2_INCLUDE=${{ github.workspace }}\SDL2\SDL2-2.0.14\include" >> $GITHUB_ENV
echo $SDL2_DIR
fi
- name: build
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
export SDL2_DIR=${{ github.workspace }}/SDL2/SDL2-2.28.4/cmake
export SDL2_DIR=${{ github.workspace }}\SDL2\SDL2-2.28.4\cmake
ls $SDL2_DIR
echo $SDL2_DIR
fi
mkdir build
cd build
Expand Down

0 comments on commit 20739a2

Please sign in to comment.