Skip to content

Commit

Permalink
macos debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt2706 committed May 9, 2024
1 parent 3a96629 commit 159ae98
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ jobs:
- name: Install dependencies
run: |
brew install sdl2
- name: Create SDL2 directory and move SDL2 headers into it
- name: Get info about sdl2
run: |
sudo mkdir -p /opt/homebrew/Cellar/sdl2/2.30.2/include/SDL2
sudo mv /opt/homebrew/Cellar/sdl2/2.30.2/include/*.h /opt/homebrew/Cellar/sdl2/2.30.2/include/SDL2
brew info sdl2
- name: List contents of SDL2 include directory
run: |
ls /opt/homebrew/Cellar/sdl2/2.30.2/include/SDL2
- name: Build for macOS
run: |
gcc -o Chip8Interpreter src/*.c -I/opt/homebrew/Cellar/sdl2/2.30.2/include -lSDL2 -lm
Expand Down

0 comments on commit 159ae98

Please sign in to comment.