init submodules in lint workflow, small fixes (#31)

This commit is contained in:
Ayoub NASR 2023-07-29 19:15:24 +02:00 committed by GitHub
parent 84b2419241
commit 3137c6d83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -7,13 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run clang-tidy
uses: ZedThree/clang-tidy-review@v0.13.1
id: review
with:
clang_tidy_version: 15
apt_packages: libunwind-dev, libglfw3-dev, libvulkan-dev, vulkan-validationlayers-dev, spirv-tools
apt_packages: libunwind-dev, libglfw3-dev, libvulkan-dev, vulkan-validationlayers-dev, spirv-tools, glslang-tools, libspirv-cross-c-shared-dev
cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on
split_workflow: true
- name: Upload review

View File

@ -24,10 +24,9 @@ jobs:
- name: Setup dependencies
run: |
sudo apt update
sudo apt install build-essential libunwind-dev \
sudo apt install -y cmake build-essential libunwind-dev \
libglfw3-dev libvulkan-dev vulkan-validationlayers-dev \
spirv-tools glslang-tools libspirv-cross-c-shared-dev \
libxbyak-dev
spirv-tools glslang-tools libspirv-cross-c-shared-dev
VULKANVER=1.3.259
curl -sSfLo Vulkan-Headers.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v${VULKANVER}.tar.gz
tar -xf Vulkan-Headers*.tar.gz
@ -39,7 +38,7 @@ jobs:
- name: Build RPCSX
run: |
cmake -B build
cmake -B build && \
cmake --build build -j4
- name: Upload RPCSX