Switch to image with preinstalled dependencies
This commit is contained in:
@@ -16,25 +16,13 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ windows_x64, ubuntu-latest, mac_arm ]
|
os: [ windows_x64, ubuntu-act_cpp-22.04, mac_arm ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Install Vulkan SDK
|
|
||||||
if: matrix.os == 'ubuntu-latest'
|
|
||||||
uses: humbletim/install-vulkan-sdk@v1.1.1
|
|
||||||
with:
|
|
||||||
version: 1.3.250.1
|
|
||||||
cache: true
|
|
||||||
- name: Install Dev Packages
|
|
||||||
if: matrix.os == 'ubuntu-latest'
|
|
||||||
run: >
|
|
||||||
sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev fonts-ubuntu libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build glslang-tools glslang-dev unzip zip libcurl4-openssl-dev libfreetype-dev libjpeg-turbo8-dev nasm
|
|
||||||
&& sudo wget https://sourceforge.net/projects/bin2c/files/1.1/bin2c-1.1.zip && sudo unzip bin2c-1.1.zip && cd bin2c && sudo gcc -o bin2c bin2c.c && sudo mv bin2c /usr/bin && fc-cache -f -v
|
|
||||||
|
|
||||||
- name: Get cmake checks from cache
|
- name: Get cmake checks from cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
id: cache
|
id: cache
|
||||||
|
|||||||
Reference in New Issue
Block a user