Skip to content

Commit

Permalink
FIx apt issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-vin committed Feb 16, 2024
1 parent 460aa04 commit d47f012
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
uses: oprypin/install-crystal@v1
- name: Install Crystal libs
run: shards install
- name: apt update
run: apt update
- name: apt-get update
run: apt-get update
- name: run install script
run: sh ./rsrc/native/ubuntu/install.sh
- name: build examples
Expand Down
2 changes: 1 addition & 1 deletion rsrc/native/ubuntu/install-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sudo ln -s /usr/lib/libminiaudiohelpers.so /lib/miniaudiohelpers.so
# Compile raylib
git clone --depth 1 --branch 5.0 https://github.com/raysan5/raylib
mkdir raylib/build
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
sudo apt-get install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
cmake raylib -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -B raylib/build
cmake --build raylib/build
sudo make install -C raylib/build
Expand Down
2 changes: 1 addition & 1 deletion rsrc/native/ubuntu/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sudo ln -s /usr/lib/libminiaudiohelpers.so /lib/miniaudiohelpers.so
# Compile raylib
git clone --depth 1 --branch 5.0 https://github.com/raysan5/raylib
mkdir raylib/build
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
sudo apt-get install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev
cmake raylib -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -B raylib/build
cmake --build raylib/build
sudo make install -C raylib/build
Expand Down

0 comments on commit d47f012

Please sign in to comment.