mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-13 19:17:35 +00:00
cache meson installation
This commit is contained in:
parent
edfc4952a4
commit
d0ece01636
14
.github/workflows/build-linux.yml
vendored
14
.github/workflows/build-linux.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue