cache meson installation

This commit is contained in:
Tropical 2026-04-04 11:48:12 -05:00
parent edfc4952a4
commit d0ece01636

View file

@ -39,19 +39,25 @@ jobs:
- name: Install system dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential ccache python3 python3-pip ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev libglm-dev
packages: build-essential ccache ninja-build libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev libglm-dev
version: 1.0
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install meson
run: |
python -m pip install meson
# Set a reasonable ccache size
ccache -M 5G || true
pip install meson
- 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