diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index b8b940ef9..d0ffd6b37 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -26,6 +26,13 @@ jobs: runs-on: ubuntu-latest steps: + - name: Restore .git folder + uses: actions/cache@v5 + with: + path: .git + key: ${{ runner.os }}-git-${{ github.sha }} + restore-keys: ${{ runner.os }}-git- + - name: Checkout repository uses: actions/checkout@v6 @@ -34,12 +41,15 @@ jobs: with: packages: build-essential ccache python3 python3-pip ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev libglm-dev version: 1.0 + run: | + python -m pip install meson + # Set a reasonable ccache size + ccache -M 5G || true - name: Install LLVM + libc++ run: | wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 20 sudo apt-get install -y libc++-20-dev libc++abi-20-dev - ccache -M 5G || true # Set a reasonable ccache size - name: Restore ccache uses: actions/cache@v5