Skip to content

Commit

Permalink
remove SDL2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
lovemefan committed Nov 24, 2024
1 parent b5e38e1 commit 40d0d46
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,16 @@ jobs:

strategy:
matrix:
build: [Release]
arch: [x64]
cublas: [ON]
sdl2: [ON]
cuda-toolkit: [12.2.0, 11.8.0]
build: [ Release ]
arch: [ x64 ]
cublas: [ ON ]
sdl2: [ ON ]
cuda-toolkit: [ 12.2.0, 11.8.0 ]
include:
- arch: x64
s2arc: x64
- sdl2: ON
s2ver: 2.28.5

steps:
- name: Clone
Expand All @@ -432,12 +434,6 @@ jobs:
with:
cuda: '${{ matrix.cuda-toolkit }}'

- name: Fetch SDL2 and set SDL2_DIR
if: matrix.sdl2 == 'ON'
run: |
C:/msys64/usr/bin/wget.exe -qO sdl2.zip https://github.com/libsdl-org/SDL/releases/download/release-${{ matrix.s2ver }}/SDL2-devel-${{ matrix.s2ver }}-VC.zip
7z x sdl2.zip
echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-${{ matrix.s2ver }}/cmake" >> $env:GITHUB_ENV

- name: Configure
run: |
Expand All @@ -456,9 +452,6 @@ jobs:
-Include cudart64_*,cublas64_*,cublasLt64_*
-Destination build/bin/${{ matrix.build }}
- name: Copy SDL2.dll
if: matrix.sdl2 == 'ON'
run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
- name: Upload binaries
if: matrix.sdl2 == 'ON'
Expand Down

0 comments on commit 40d0d46

Please sign in to comment.