Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.
Swift apple-siliconcustom-formathomebrewiosipaipadipadosiphonemetalnative-portnintendo-switchnxnativeromfsswitch-games
test_lint_c: the LLVM check skips without a lint-c.yml workflow
v0lumehi991b1d045900
diff --git a/dm/fork_patches.txt b/dm/fork_patches.txtindex 6bac2b63..5afb2619 100644--- a/dm/fork_patches.txt+++ b/dm/fork_patches.txt@@ -17,3 +17,4 @@ games-md-galleryfront-mac-enter-fullscreen-once-the-app-is-activfront-mac-dm-screenfront-mac-hide-the-pointer-after-a-few-idle-seco+lint-c-test-without-workflowdiff --git a/dm/tools/tests/test_lint_c.py b/dm/tools/tests/test_lint_c.pyindex ee4f5aea..b0cec232 100644--- a/dm/tools/tests/test_lint_c.py+++ b/dm/tools/tests/test_lint_c.py@@ -174,6 +174,7 @@ class Against(unittest.TestCase):class Toolchain(unittest.TestCase):+ @unittest.skipUnless((REPO / '.github/workflows/lint-c.yml').is_file(), 'no lint-c.yml workflow in this repository (NX2Apple runs no clang-tidy job)')def test_ci_downloads_the_llvm_the_baseline_was_made_with(self):wf = (REPO / '.github/workflows/lint-c.yml').read_text()m = re.search(r'^\s+LLVM_VERSION: (\d+\.\d+\.\d+)$', wf, re.M)diff --git a/patches/0033-lint-c-test-without-workflow.patch b/patches/0033-lint-c-test-without-workflow.patchnew file mode 100644index 00000000..eefce079--- /dev/null+++ b/patches/0033-lint-c-test-without-workflow.patch@@ -0,0 +1,28 @@+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001+From: v0lumehi <[email protected]>+Date: Sat, 31 Oct 2026 01:14:09 +0100+Subject: [PATCH] test_lint_c: the LLVM check skips without a lint-c.yml+ workflow++NX2Apple carries no clang-tidy workflow, so the test that compares the baseline's LLVM with the one lint-c.yml downloads has nothing to read and skips. The baseline tests still run.++Upstream-Status: fork-only+Reason: the fork's CI runs dm/tools/tests but has no lint-c.yml (the ratchet's baseline counts upstream's sources, not the patched ones)+Issue: LNPANDY/NX2Apple#123++---+ dm/tools/tests/test_lint_c.py | 1 ++ 1 file changed, 1 insertion(+)++diff --git a/dm/tools/tests/test_lint_c.py b/dm/tools/tests/test_lint_c.py+index ee4f5aea..b0cec232 100644+--- a/dm/tools/tests/test_lint_c.py++++ b/dm/tools/tests/test_lint_c.py+@@ -174,6 +174,7 @@ class Against(unittest.TestCase):+++ class Toolchain(unittest.TestCase):++ @unittest.skipUnless((REPO / '.github/workflows/lint-c.yml').is_file(), 'no lint-c.yml workflow in this repository (NX2Apple runs no clang-tidy job)')+ def test_ci_downloads_the_llvm_the_baseline_was_made_with(self):+ wf = (REPO / '.github/workflows/lint-c.yml').read_text()+ m = re.search(r'^\s+LLVM_VERSION: (\d+\.\d+\.\d+)$', wf, re.M)diff --git a/patches/series b/patches/seriesindex c5e13cd4..c7ce3aa9 100644--- a/patches/series+++ b/patches/series@@ -18,3 +18,4 @@0030-front-mac-enter-fullscreen-once-the-app-is-activ.patch0031-front-mac-dm-screen.patch0032-front-mac-hide-the-pointer-after-a-few-idle-seco.patch+0033-lint-c-test-without-workflow.patch