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