Skip to content

Commit

Permalink
Add GitHub Actions workflow for iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
vrstanchev committed Nov 4, 2024
1 parent b3b194f commit 74174b0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,20 @@ jobs:
- name: Clone SDL2 for Android
run: |
git clone https://github.com/libsdl-org/SDL.git
# Check if the SDL directory was created
ls SDL # This will list the contents to confirm
# List the contents of the SDL directory to debug
echo "Contents of SDL directory after cloning:"
ls SDL
- name: Check SDL directory structure
run: |
echo "Listing contents of SDL directory:"
ls SDL
echo "Listing contents of SDL/android directory if it exists:"
ls SDL/android || echo "SDL/android directory does not exist."
- name: Build SDL2 for Android
run: |
cd SDL/android
cd SDL/android || exit 1 # Exit if the directory does not exist
./build-sdl.sh
echo "SDL2 built for Android."
Expand Down

0 comments on commit 74174b0

Please sign in to comment.