From d47f012199e9157fc579e97766f16c1e9833d12f Mon Sep 17 00:00:00 2001 From: Ian Rash Date: Fri, 16 Feb 2024 06:52:54 -0800 Subject: [PATCH] FIx apt issue? --- .github/workflows/ubuntu-build.yml | 4 ++-- rsrc/native/ubuntu/install-lib.sh | 2 +- rsrc/native/ubuntu/install.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml index e684796..94f6b6b 100644 --- a/.github/workflows/ubuntu-build.yml +++ b/.github/workflows/ubuntu-build.yml @@ -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 diff --git a/rsrc/native/ubuntu/install-lib.sh b/rsrc/native/ubuntu/install-lib.sh index aeb4518..009dfe7 100644 --- a/rsrc/native/ubuntu/install-lib.sh +++ b/rsrc/native/ubuntu/install-lib.sh @@ -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 diff --git a/rsrc/native/ubuntu/install.sh b/rsrc/native/ubuntu/install.sh index 2efbdb2..d0b24dd 100644 --- a/rsrc/native/ubuntu/install.sh +++ b/rsrc/native/ubuntu/install.sh @@ -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