[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 update
sudo apt-get -y install clang-format-$LLVM_VERSION sudo apt-get -y install clang-format-$LLVM_VERSION
- name: Lint - name: Lint
run: ./xb lint --all run: ./xenia-build lint --all
build-clang: build-clang:
name: Build (Clang ${{ matrix.LLVM_VERSION }}) 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-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 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 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 - name: Build
env: env:
CC: clang-${{ matrix.LLVM_VERSION }} CC: clang-${{ matrix.LLVM_VERSION }}
CXX: clang++-${{ matrix.LLVM_VERSION }} CXX: clang++-${{ matrix.LLVM_VERSION }}
run: ./xb build --config=Release run: ./xenia-build build --config=Release
- name: Prepare artifacts - name: Prepare artifacts
id: prepare_artifacts id: prepare_artifacts
run: | run: |
@ -123,13 +123,13 @@ jobs:
# run: | # run: |
# sudo apt-get -y update # 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 }} # 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 # - name: Build
# env: # env:
# CC: gcc-${{ matrix.GCC_VERSION }} # CC: gcc-${{ matrix.GCC_VERSION }}
# CXX: g++-${{ matrix.GCC_VERSION }} # CXX: g++-${{ matrix.GCC_VERSION }}
# # AR: ar # # AR: ar
# run: ./xb build --config=Release # run: ./xenia-build build --config=Release
# - name: Prepare artifacts # - name: Prepare artifacts
# id: prepare_artifacts # id: prepare_artifacts
# run: | # run: |