From e34a76396701e1b1070c1fdc9b71634c2ec80226 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 13 Jul 2025 16:16:01 +0200 Subject: [PATCH] add arm linux runner --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5306703..1e9a16d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,30 @@ jobs: - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato + linux-arm: + timeout-minutes: 10 + + runs-on: ubuntu-24.04-arm + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install Dependencies + run: sudo apt update && sudo apt -y install libsodium-dev cmake libx11-dev libxext-dev libxrandr-dev + + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{github.event.repository.name}}-${{github.job}} + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache + + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4 -t tomato + android: timeout-minutes: 30 # contains sections copied from sdl repo