try
This commit is contained in:
parent
ecc3c08a45
commit
6286a2cf66
1 changed files with 10 additions and 3 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -320,6 +320,16 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Download SDL2
|
||||
run: curl -L -o SDL2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.30.8/SDL2-devel-2.30.8-VC.zip
|
||||
|
||||
- name: Unzip SDL2
|
||||
run: tar -xf SDL2.zip -C ${{ runner.temp }}\SDL2
|
||||
|
||||
- name: Set SDL_DIR environment variable
|
||||
run: echo SDL_DIR=${{ runner.temp }}\SDL2\SDL2-2.30.8\cmake >> $GITHUB_ENV
|
||||
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2.2.2
|
||||
with:
|
||||
|
@ -333,9 +343,6 @@ jobs:
|
|||
|
||||
- name: Build raylib
|
||||
run: |
|
||||
curl -L -o SDL2.zip https://github.com/libsdl-org/SDL/releases/download/release-2.30.8/SDL2-devel-2.30.8-VC.zip
|
||||
Expand-Archive -Path SDL2.zip -DestinationPath ${{ github.workspace }}\SDL2
|
||||
echo SDL_DIR=${{ github.workspace }}\SDL2\SDL2-2.30.8\cmake >> $GITHUB_ENV
|
||||
cd raylib-c
|
||||
mkdir build
|
||||
cd build
|
||||
|
|
Reference in a new issue