diff --git a/.github/workflows/build-libs.yml b/.github/workflows/build-libs.yml index 48a0f20..37a43f0 100644 --- a/.github/workflows/build-libs.yml +++ b/.github/workflows/build-libs.yml @@ -69,12 +69,12 @@ jobs: sudo apt-get update sudo apt-get install -y libsdl2-dev:armhf libwayland-dev:armhf libegl-dev:armhf libdrm-dev:armhf libxkbcommon-dev:armhf libpulse-dev:armhf - name: CMake Configure - if: ${{ runner.os == 'Linux' && matrix.arch != 'arm64' && matrix.arch != 'arm32' }} + if: ${{ !(runner.os == 'Linux' && matrix.arch == 'arm64') && !(runner.os == 'Linux' && matrix.arch == 'arm32') }} run: cmake -B build -S Platform - - name: CMake Configure (arm64) + - name: CMake Configure (Linux-arm64) if: ${{ runner.os == 'Linux' && matrix.arch == 'arm64' }} run: PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig cmake -B build -S Platform -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_SYSTEM_NAME=Linux - - name: CMake Configure (arm32) + - name: CMake Configure (Linux-arm32) if: ${{ runner.os == 'Linux' && matrix.arch == 'arm32' }} run: PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig cmake -B build -S Platform -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ -DCMAKE_SYSTEM_PROCESSOR=armv7l -DCMAKE_SYSTEM_NAME=Linux - name: CMake Build