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 96f803a commit 26c2912
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
if [ "$RUNNER_OS" == "Linux" ]; then
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq
sudo apt-get install libsdl2-dev
fi
- name: build
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update && sudo apt-get install xorg-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get update && sudo apt-get install xorg-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libsdl2-dev
fi
if [ "$RUNNER_OS" == "macOS" ]; then
brew install SDL2
brew install SDL2_image
fi
mkdir build
cd build
Expand Down

0 comments on commit 26c2912

Please sign in to comment.