Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
ref: pr.head.sha
});

const requiredChecks = ['CI', 'CodeQL'];
const requiredChecks = ['CI / build', 'CodeQL Analysis'];
const allChecksPassing = requiredChecks.every(checkName => {
const check = checks.check_runs.find(c => c.name === checkName);
return check && check.conclusion === 'success';
Expand Down
37 changes: 9 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
build: # keep this id so the check stays "CI / build"
name: Ubuntu build (with OpenCascade)
runs-on: [self-hosted, linux, x64, dev01, fastpath]
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -24,42 +24,32 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v5

- name: Install deps (toolchain + TBB + ccache)
- name: Install dependencies
run: |
sudo dnf update -y
sudo dnf install -y cmake ninja-build gcc gcc-c++ make tbb-devel
# ccache is already installed from our manual setup
echo "Basic toolchain installed, will handle OCCT separately"

- name: Setup ccache dirs
run: |
mkdir -p /var/cache/ccache
echo "CCACHE_DIR=/var/cache/ccache" >> $GITHUB_ENV
echo "CCACHE_BASEDIR=$GITHUB_WORKSPACE" >> $GITHUB_ENV
sudo chown -R github-runner:github-runner /var/cache/ccache
sudo apt-get update
sudo apt-get install -y \
cmake \
ninja-build \
g++ \
libtbb-dev

- name: Configure (CMake - engine-only build)
run: |
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DBEDROCK_WITH_OCCT=OFF

- name: Print tool versions
run: |
echo "=== Tool Versions ==="
gcc --version
g++ --version
cmake --version
ninja --version
ccache --version
echo "===================="

- name: Build libraries only
run: |
ccache -z
cmake --build build --config Release --target bedrock_engine -j
ccache -s

- name: Upload CMake logs (on failure)
if: failure()
Expand All @@ -71,16 +61,7 @@ jobs:
build/CMakeFiles/CMakeError.log
retention-days: 7

- name: Upload ccache stats
if: always()
uses: actions/upload-artifact@v4
with:
name: ccache-stats
path: /var/cache/ccache
retention-days: 7

- name: Post-job cleanup
if: always()
run: |
rm -rf "$HOME/_work" || true
ccache --cleanup || true
12 changes: 8 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
analyze:
name: CodeQL Analysis
runs-on: [self-hosted, linux, x64, dev01, fastpath]
runs-on: ubuntu-latest
timeout-minutes: 60
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -28,9 +28,13 @@ jobs:

- name: Install dependencies (no OCCT for CodeQL)
run: |
sudo dnf update -y
sudo dnf install -y tbb-devel
# Note: OCCT not available in AL2023 - CodeQL will analyze without OCCT
sudo apt-get update
sudo apt-get install -y \
cmake \
ninja-build \
g++ \
libtbb-dev
# Note: OCCT not available - CodeQL will analyze without OCCT

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down