Skip to content

Commit c8f85b8

Browse files
authored
Update cmake-arm.yml
1 parent 2028dbf commit c8f85b8

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/cmake-arm.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,13 @@ jobs:
2828
run: |
2929
sudo apt-get update
3030
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
31-
32-
- name: Install Cross-Compilation Tools for ARM64
33-
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64'
34-
run: |
3531
sudo dpkg --add-architecture arm64
3632
sudo apt-get update
3733
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
3834
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
3935
4036
- name: Configure Raylib with CMake for ARM64 on Linux
41-
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64'
37+
if: matrix.os == 'ubuntu-latest'
4238
run: |
4339
cd raylib
4440
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
@@ -49,18 +45,6 @@ jobs:
4945
cd raylib
5046
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
5147
52-
- name: Configure Raylib with CMake on macOS
53-
if: matrix.os == 'macos-latest'
54-
run: |
55-
cd raylib
56-
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
57-
58-
- name: Configure Raylib with CMake on Linux (x86_64)
59-
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x86_64'
60-
run: |
61-
cd raylib
62-
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
63-
6448
- name: Build raylib
6549
run: cmake --build raylib/build --config Release
6650

0 commit comments

Comments
 (0)