[PR #679] CI: build the Linux runtime with Clang, build rpf9dump on Linux, run Build.sh (follow-up to #227) #719

Open
opened 2026-11-26 20:18:49 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/679
Author: @bhimio1
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: feat/linux-ci


📝 Commits (1)

  • 68e43c5 ci(linux): build the runtime with Clang, build rpf9dump on Linux, run Build.sh

📊 Changes

3 files changed (+91 additions, -3 deletions)

View changed files

📝 .github/workflows/ci.yml (+35 -0)
📝 .github/workflows/runtime.yml (+53 -0)
📝 docs/linux.md (+3 -3)

📄 Description

Follow-up to #227. That PR's CI changes could not be pushed with it (workflow files need a token scope), so they come here on their own.

What this adds

  • runtime.yml / linux-clang: the native Linux runtime build with Clang instead of the runner's default GCC, running ctest (CPU and llvmpipe tests). It checks that CMake really picked Clang. linux-gpu-tools keeps the GPU shader tests on GCC.
  • ci.yml / rpf9dump-linux: builds the asset exporter on Linux (the check job builds it on Windows only) and runs the synthetic TTPF export-retry test and the diagnostics project. tests/test_rpf9dump_exit_codes.py stays in check: two of its cases fail on Linux, because the directory they put at <file>.partial no longer blocks Util.WriteAtomic's unique temp name. That is an existing test/implementation mismatch, not changed here.
  • ci.yml / stdlib-tests-linux: a ./Build.sh --help step, matching make_game.py --help on Windows.
  • docs/linux.md: the "how it is checked" column now names these jobs.

Action versions are pinned to the same commits the existing jobs use. Rebased on current main; no Windows or macOS job is touched.

What is and isn't verified

  • Both workflow files parse as valid YAML and contain the new jobs.
  • The steps are the commands that were run by hand on Ubuntu (Clang build + ctest 72/72, rpf9dump build, Build.sh help). They have not run on GitHub-hosted runners yet. The first CI run on this PR is the real test; I'll fix anything it shows.
  • The linux-clang job's sccache / Vulkan-header cache steps are copied from the existing linux-gpu-tools job.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/679 **Author:** [@bhimio1](https://github.com/bhimio1) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/linux-ci` --- ### 📝 Commits (1) - [`68e43c5`](https://github.com/ubiquitarianism/leonida/commit/68e43c552de2604d7ee36f6159ce2a8c1f1a62d3) ci(linux): build the runtime with Clang, build rpf9dump on Linux, run Build.sh ### 📊 Changes **3 files changed** (+91 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+35 -0) 📝 `.github/workflows/runtime.yml` (+53 -0) 📝 `docs/linux.md` (+3 -3) </details> ### 📄 Description Follow-up to #227. That PR's CI changes could not be pushed with it (workflow files need a token scope), so they come here on their own. ## What this adds - **`runtime.yml` / `linux-clang`**: the native Linux runtime build with Clang instead of the runner's default GCC, running `ctest` (CPU and llvmpipe tests). It checks that CMake really picked Clang. `linux-gpu-tools` keeps the GPU shader tests on GCC. - **`ci.yml` / `rpf9dump-linux`**: builds the asset exporter on Linux (the `check` job builds it on Windows only) and runs the synthetic TTPF export-retry test and the diagnostics project. `tests/test_rpf9dump_exit_codes.py` stays in `check`: two of its cases fail on Linux, because the directory they put at `<file>.partial` no longer blocks `Util.WriteAtomic`'s unique temp name. That is an existing test/implementation mismatch, not changed here. - **`ci.yml` / `stdlib-tests-linux`**: a `./Build.sh --help` step, matching `make_game.py --help` on Windows. - `docs/linux.md`: the "how it is checked" column now names these jobs. Action versions are pinned to the same commits the existing jobs use. Rebased on current `main`; no Windows or macOS job is touched. ## What is and isn't verified - Both workflow files parse as valid YAML and contain the new jobs. - The steps are the commands that were run by hand on Ubuntu (Clang build + `ctest` 72/72, `rpf9dump` build, Build.sh help). They have **not** run on GitHub-hosted runners yet. The first CI run on this PR is the real test; I'll fix anything it shows. - The `linux-clang` job's sccache / Vulkan-header cache steps are copied from the existing `linux-gpu-tools` job. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#719
No description provided.