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 86913e5 commit 4f87284
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ 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
fi
- name: build
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
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
Expand All @@ -40,6 +34,10 @@ jobs:
echo "SDL2_LIB=${{ github.workspace }}/SDL2/SDL2-2.0.14/lib/x64" >> $GITHUB_ENV
echo "SDL2_INCLUDE=${{ github.workspace }}/SDL2/SDL2-2.0.14/include" >> $GITHUB_ENV
fi
- name: build
shell: bash
run: |
mkdir build
cd build
cmake ..
Expand Down

0 comments on commit 4f87284

Please sign in to comment.