Skip to content

Commit

Permalink
Update cmake-arm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JunaMeinhold authored Sep 25, 2024
1 parent 8a98a57 commit af4c4b2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/cmake-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
submodules: true

- name: Install Dependencies on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
Expand All @@ -33,16 +32,9 @@ jobs:
sudo apt-get install -y libasound2-dev:arm64 libx11-dev:arm64 libxrandr-dev:arm64 libxi-dev:arm64 libgl1-mesa-dev:arm64 libglu1-mesa-dev:arm64 libxcursor-dev:arm64 libxinerama-dev:arm64 libwayland-dev:arm64 libxkbcommon-dev:arm64
- name: Configure Raylib with CMake for ARM64 on Linux
if: matrix.os == 'ubuntu-latest'
run: |
cd raylib
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
- name: Configure Raylib with CMake on Windows
if: matrix.os == 'windows-latest'
run: |
cd raylib
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
- name: Build raylib
run: cmake --build raylib/build --config Release
Expand Down

0 comments on commit af4c4b2

Please sign in to comment.