[CI] Run xenia-build directly

This commit is contained in:
Margen67 2025-07-28 11:29:57 -07:00
parent 0b81604633
commit a10ca517a6

View file

@ -63,7 +63,7 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install clang-format-$LLVM_VERSION
- name: Lint
run: ./xb lint --all
run: ./xenia-build lint --all
build-clang:
name: Build (Clang ${{ matrix.LLVM_VERSION }})
@ -85,12 +85,12 @@ jobs:
sudo apt-add-repository "deb http://apt.llvm.org/${UBUNTU_BASE}/ llvm-toolchain-${UBUNTU_BASE}-${{ matrix.LLVM_VERSION }} main"
sudo apt-get -y update
sudo apt-get -y install mesa-vulkan-drivers valgrind libc++-dev libc++abi-dev libgtk-3-dev libsdl2-dev libvulkan-dev libx11-xcb-dev clang-${{ matrix.LLVM_VERSION }} ninja-build
./xb setup
./xenia-build setup
- name: Build
env:
CC: clang-${{ matrix.LLVM_VERSION }}
CXX: clang++-${{ matrix.LLVM_VERSION }}
run: ./xb build --config=Release
run: ./xenia-build build --config=Release
- name: Prepare artifacts
id: prepare_artifacts
run: |
@ -123,13 +123,13 @@ jobs:
# run: |
# sudo apt-get -y update
# sudo apt-get -y install mesa-vulkan-drivers valgrind libc++-dev libc++abi-dev libgtk-3-dev libsdl2-dev libvulkan-dev libx11-xcb-dev g++-${{ matrix.GCC_VERSION }}
# ./xb setup
# ./xenia-build setup
# - name: Build
# env:
# CC: gcc-${{ matrix.GCC_VERSION }}
# CXX: g++-${{ matrix.GCC_VERSION }}
# # AR: ar
# run: ./xb build --config=Release
# run: ./xenia-build build --config=Release
# - name: Prepare artifacts
# id: prepare_artifacts
# run: |