Compare commits

..

7 Commits

Author SHA1 Message Date
tequ
2e4e5eaff1 install cmake 2025-11-26 02:18:26 +09:00
tequ
2e96ae905d install python if not installed (ubuntu/self-hosted) 2025-11-26 02:11:40 +09:00
tequ
d02af3c891 rever macos runner 2025-11-26 01:37:36 +09:00
tequ
6f559a6032 use hosted runner in light workflow 2025-11-26 00:18:08 +09:00
tequ
9980e8f9be fix to use self-hosted for subsequent jobs. 2025-11-26 00:17:38 +09:00
Wietse Wind
fe17dde005 Update workers to self hosted 2025-11-26 00:14:15 +09:00
tequ
4eb1e4105a Revert "Update workers to self hosted"
This reverts commit c42cb0df62.
2025-11-26 00:12:45 +09:00
6 changed files with 25 additions and 10 deletions

View File

@@ -18,10 +18,11 @@ runs:
using: 'composite'
steps:
- name: Get commit message and set environment variable
shell: python
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
python3 - << 'PY'
import json
import os
import secrets
@@ -72,3 +73,4 @@ runs:
print(f"✓ XAHAU_GA_COMMIT_MSG set (available to all subsequent steps)")
print("==========================================")
PY

View File

@@ -33,7 +33,7 @@ jobs:
fetch-depth: 2 # Only get the last 2 commits, to avoid fetching all history
build:
runs-on: [self-hosted, vanity]
runs-on: [self-hosted, xahaud-build]
needs: [checkout]
defaults:
run:
@@ -74,7 +74,7 @@ jobs:
fi
tests:
runs-on: [self-hosted, vanity]
runs-on: [self-hosted, xahaud-build]
needs: [build, checkout]
defaults:
run:
@@ -84,7 +84,7 @@ jobs:
run: /bin/bash docker-unit-tests.sh
cleanup:
runs-on: [self-hosted, vanity]
runs-on: [self-hosted, xahaud-build]
needs: [tests, checkout]
if: always()
steps:

View File

@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
check:
runs-on: [self-hosted, generic]
runs-on: ubuntu-22.04
env:
CLANG_VERSION: 10
steps:

View File

@@ -18,7 +18,7 @@ jobs:
generator: bash ./hook/generate_sfcodes.sh
- target: hook/tts.h
generator: ./hook/generate_tts.sh
runs-on: [self-hosted, generic]
runs-on: ubuntu-22.04
name: ${{ matrix.target }}
steps:
- name: Checkout repository

View File

@@ -20,7 +20,7 @@ jobs:
- Ninja
configuration:
- Debug
runs-on: macos-15-xlarge
runs-on: macos-15
env:
build_dir: .build
# Bump this number to invalidate all caches globally.

View File

@@ -168,7 +168,7 @@ jobs:
build:
needs: matrix-setup
runs-on: ubuntu-latest
runs-on: [self-hosted, generic]
outputs:
artifact_name: ${{ steps.set-artifact-name.outputs.artifact_name }}
strategy:
@@ -183,6 +183,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install python if not installed
run: |
if ! which python3 > /dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y python3 python-is-python3
fi
if ! which pip3 > /dev/null 2>&1; then
sudo apt-get install -y python3-pip
fi
- name: Get commit message
id: get-commit-message
uses: ./.github/actions/xahau-ga-get-commit-message
@@ -194,7 +204,10 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y ninja-build ${{ matrix.cc }} ${{ matrix.cxx }} ccache
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt update
sudo apt-get install -y cmake ninja-build ${{ matrix.cc }} ${{ matrix.cxx }} ccache
# Install the specific GCC version needed for Clang
if [ -n "${{ matrix.clang_gcc_toolchain }}" ]; then
@@ -258,7 +271,7 @@ jobs:
fi
# Install Conan 2
pip install --upgrade "conan>=2.0,<3"
pip3 install --upgrade "conan>=2.0,<3"
- name: Check environment
run: |