From c1ddc9cea5701c8754ee720c97badec9fa1a2bc5 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 07:34:15 +0800 Subject: [PATCH 01/17] add/fix: ci fresh install --- .github/workflows/ci-fresh-install.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index a40c60a..2df8395 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -38,12 +38,11 @@ jobs: env: XLINGS_NON_INTERACTIVE: '1' run: | - curl -fsSL https://github.com/d2learn/xlings/releases/download/v0.4.30/xlings-0.4.30-linux-x86_64.tar.gz | tar -xzf - -C /tmp - /tmp/xlings-0.4.30-linux-x86_64/subos/default/bin/xlings self install - export PATH="$HOME/.xlings/subos/default/bin:$PATH" + curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash + echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" xlings install mcpp -y - echo "$HOME/.xlings/subos/default/bin" >> "$GITHUB_PATH" mcpp --version + mcpp self config --mirror GLOBAL - name: "GCC: mcpp new → run" run: | @@ -74,7 +73,6 @@ jobs: - name: "LLVM: mcpp new → run" run: | - mcpp self config --mirror GLOBAL mcpp toolchain install llvm 20.1.7 mcpp toolchain default llvm@20.1.7 cd "$(mktemp -d)" @@ -102,12 +100,11 @@ jobs: env: XLINGS_NON_INTERACTIVE: '1' run: | - curl -fsSL https://github.com/d2learn/xlings/releases/download/v0.4.30/xlings-0.4.30-macosx-arm64.tar.gz | tar -xzf - -C /tmp - /tmp/xlings-0.4.30-macosx-arm64/subos/default/bin/xlings self install - export PATH="$HOME/.xlings/subos/default/bin:$PATH" + curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash + echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" xlings install mcpp -y - echo "$HOME/.xlings/subos/default/bin" >> "$GITHUB_PATH" mcpp --version + mcpp self config --mirror GLOBAL - name: "LLVM: mcpp new → run" run: | @@ -136,14 +133,15 @@ jobs: env: XLINGS_NON_INTERACTIVE: '1' run: | - Invoke-WebRequest -Uri "https://github.com/d2learn/xlings/releases/download/v0.4.30/xlings-0.4.30-windows-x86_64.zip" -OutFile "$env:TEMP\xlings.zip" - Expand-Archive -Path "$env:TEMP\xlings.zip" -DestinationPath "$env:TEMP\xlings-extract" -Force - & "$env:TEMP\xlings-extract\xlings-0.4.30-windows-x86_64\subos\default\bin\xlings.exe" self install - $xlingsbin = "$env:USERPROFILE\.xlings\subos\default\bin" + irm https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.ps1 | iex + + $xlingsbin = "$env:USERPROFILE\.xlings\subos\current\bin" $env:PATH = "$xlingsbin;$env:PATH" - xlings install mcpp -y $xlingsbin | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 + + xlings install mcpp -y mcpp --version + mcpp self config --mirror GLOBAL - name: "LLVM: mcpp new → run" shell: pwsh From 3d4e70a490746e39c2f77949823d0f47a1a7ab54 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 07:37:08 +0800 Subject: [PATCH 02/17] update --- .github/workflows/ci-fresh-install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 2df8395..9cfc3a8 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -21,7 +21,7 @@ on: concurrency: group: ci-fresh-install - cancel-in-progress: true + cancel-in-progress: false jobs: # ────────────────────────────────────────────────────────────────── From 378ed8e3a339fcf1989a5997018140217ffb37af Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 07:39:45 +0800 Subject: [PATCH 03/17] update --- .github/workflows/ci-fresh-install.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 9cfc3a8..496e972 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -8,11 +8,10 @@ name: ci-fresh-install # 2. mcpp build (build mcpp itself from source) # # This workflow tests released mcpp, not PR code. -# It does NOT run on PRs — only on push to main, manual trigger, and daily schedule. -# Failures here mean the released mcpp has issues, not that the PR is broken. +# It runs on PRs to main, manual trigger, and daily schedule. on: - push: + pull_request: branches: [ main ] workflow_dispatch: schedule: @@ -21,7 +20,7 @@ on: concurrency: group: ci-fresh-install - cancel-in-progress: false + cancel-in-progress: false # use false to test in PRs, true to only test released mcpp jobs: # ────────────────────────────────────────────────────────────────── @@ -38,7 +37,7 @@ jobs: env: XLINGS_NON_INTERACTIVE: '1' run: | - curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash + curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38 echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" xlings install mcpp -y mcpp --version @@ -100,7 +99,7 @@ jobs: env: XLINGS_NON_INTERACTIVE: '1' run: | - curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash + curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38 echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" xlings install mcpp -y mcpp --version From d824fa3ededd7b981b81f8d5f23fafcb7f269c3e Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 07:44:26 +0800 Subject: [PATCH 04/17] update --- .github/workflows/ci-fresh-install.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 496e972..df0f3ff 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -39,6 +39,9 @@ jobs: run: | curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38 echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" + + - name: Install mcpp and config mirror + run: | xlings install mcpp -y mcpp --version mcpp self config --mirror GLOBAL @@ -95,12 +98,15 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install xlings + mcpp + - name: Install xlings env: XLINGS_NON_INTERACTIVE: '1' run: | curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38 echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" + + - name: Install mcpp and config mirror + run: | xlings install mcpp -y mcpp --version mcpp self config --mirror GLOBAL @@ -127,7 +133,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install xlings + mcpp + - name: Install xlings shell: pwsh env: XLINGS_NON_INTERACTIVE: '1' @@ -138,6 +144,9 @@ jobs: $env:PATH = "$xlingsbin;$env:PATH" $xlingsbin | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 + - name: Install mcpp and config mirror + shell: pwsh + run: | xlings install mcpp -y mcpp --version mcpp self config --mirror GLOBAL From b5856bda229d76dd8882f343dd26894614aaa173 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 07:51:13 +0800 Subject: [PATCH 05/17] update --- .github/workflows/ci-fresh-install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index df0f3ff..017af98 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -43,6 +43,7 @@ jobs: - name: Install mcpp and config mirror run: | xlings install mcpp -y + which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -108,6 +109,7 @@ jobs: - name: Install mcpp and config mirror run: | xlings install mcpp -y + which mcpp mcpp --version mcpp self config --mirror GLOBAL From b879321bb884b65352ec274bedb62b6a30e2fbdb Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 08:00:20 +0800 Subject: [PATCH 06/17] update --- .github/workflows/ci-fresh-install.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 017af98..f09b7d0 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -46,10 +46,12 @@ jobs: which mcpp mcpp --version mcpp self config --mirror GLOBAL + xlings use mcpp - name: "GCC: mcpp new → run" run: | cd "$(mktemp -d)" + xlings use mcpp mcpp new hello_gcc cd hello_gcc mcpp run @@ -112,16 +114,19 @@ jobs: which mcpp mcpp --version mcpp self config --mirror GLOBAL + xlings use mcpp - name: "LLVM: mcpp new → run" run: | cd "$(mktemp -d)" + xlings use mcpp mcpp new hello_mac cd hello_mac mcpp run - name: "LLVM: build mcpp" run: | + xlings use mcpp mcpp clean mcpp build @@ -152,6 +157,7 @@ jobs: xlings install mcpp -y mcpp --version mcpp self config --mirror GLOBAL + xlings use mcpp - name: "LLVM: mcpp new → run" shell: pwsh From 5dee72782ab14d126ae2e3e4a489d67041315601 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 08:06:22 +0800 Subject: [PATCH 07/17] update --- .github/workflows/ci-fresh-install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index f09b7d0..6e28f85 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -47,10 +47,12 @@ jobs: mcpp --version mcpp self config --mirror GLOBAL xlings use mcpp + cat $HOME/.xlings/.xlings.json - name: "GCC: mcpp new → run" run: | cd "$(mktemp -d)" + cat $HOME/.xlings/.xlings.json xlings use mcpp mcpp new hello_gcc cd hello_gcc From 0540eb05c1336af3d1cc028cf6295cbb11a3e4cc Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 09:08:27 +0800 Subject: [PATCH 08/17] update --- .github/workflows/ci-fresh-install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 6e28f85..3b2bfd8 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -42,7 +42,7 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y + xlings install mcpp -y -g which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -112,7 +112,7 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y + xlings install mcpp -y -g which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -156,7 +156,7 @@ jobs: - name: Install mcpp and config mirror shell: pwsh run: | - xlings install mcpp -y + xlings install mcpp -y -g mcpp --version mcpp self config --mirror GLOBAL xlings use mcpp From 7a343033cc2ebaf4bee851798846ce2a34180741 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 09:13:00 +0800 Subject: [PATCH 09/17] update --- .github/workflows/ci-fresh-install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 3b2bfd8..6327764 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -42,7 +42,7 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y -g + xlings install mcpp -y --all which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -112,7 +112,7 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y -g + xlings install mcpp -y --all which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -156,7 +156,7 @@ jobs: - name: Install mcpp and config mirror shell: pwsh run: | - xlings install mcpp -y -g + xlings install mcpp -y --all mcpp --version mcpp self config --mirror GLOBAL xlings use mcpp From 9fe85d38ba59162fe20f5e2d1879bb14378b0a7e Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 09:17:56 +0800 Subject: [PATCH 10/17] update --- .github/workflows/ci-fresh-install.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 6327764..c4e8180 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -42,7 +42,8 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y --all + xlings install mcpp -y -g + xlings install mcpp -y which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -112,7 +113,8 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y --all + xlings install mcpp -y -g + xlings install mcpp -y which mcpp mcpp --version mcpp self config --mirror GLOBAL @@ -156,7 +158,8 @@ jobs: - name: Install mcpp and config mirror shell: pwsh run: | - xlings install mcpp -y --all + xlings install mcpp -y -g + xlings install mcpp -y mcpp --version mcpp self config --mirror GLOBAL xlings use mcpp From 6fd83925f26b6cb857061d98aae67b2d96aa9140 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 09:32:11 +0800 Subject: [PATCH 11/17] update --- .github/workflows/ci-fresh-install.yml | 31 +++++++++++++++----------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index c4e8180..7db8678 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -42,19 +42,19 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y -g - xlings install mcpp -y - which mcpp + xlings install mcpp -y -g # install to global + xlings install mcpp -y # install to local project (TODO: optimize) mcpp --version mcpp self config --mirror GLOBAL + + echo "mcpp debug info:" + which mcpp xlings use mcpp cat $HOME/.xlings/.xlings.json - name: "GCC: mcpp new → run" run: | cd "$(mktemp -d)" - cat $HOME/.xlings/.xlings.json - xlings use mcpp mcpp new hello_gcc cd hello_gcc mcpp run @@ -62,7 +62,7 @@ jobs: - name: "GCC: build mcpp" run: | mcpp clean - mcpp build + mcpp run - name: "musl-gcc: mcpp new → run" run: | @@ -77,7 +77,7 @@ jobs: run: | mcpp toolchain default gcc@15.1.0-musl mcpp clean - mcpp build + mcpp run - name: "LLVM: mcpp new → run" run: | @@ -92,7 +92,7 @@ jobs: run: | mcpp toolchain default llvm@20.1.7 mcpp clean - mcpp build + mcpp run # ────────────────────────────────────────────────────────────────── # macOS: llvm@20.1.7 @@ -113,12 +113,15 @@ jobs: - name: Install mcpp and config mirror run: | - xlings install mcpp -y -g - xlings install mcpp -y - which mcpp + xlings install mcpp -y -g # install to global + xlings install mcpp -y # install to local project (TODO: optimize) mcpp --version mcpp self config --mirror GLOBAL + + echo "mcpp debug info:" + which mcpp xlings use mcpp + cat $HOME/.xlings/.xlings.json - name: "LLVM: mcpp new → run" run: | @@ -132,7 +135,7 @@ jobs: run: | xlings use mcpp mcpp clean - mcpp build + mcpp run # ────────────────────────────────────────────────────────────────── # Windows: llvm@20.1.7 + MSVC STL @@ -160,6 +163,8 @@ jobs: run: | xlings install mcpp -y -g xlings install mcpp -y + + cat "$env:USERPROFILE\.xlings\.xlings.json" mcpp --version mcpp self config --mirror GLOBAL xlings use mcpp @@ -177,4 +182,4 @@ jobs: shell: pwsh run: | mcpp clean - mcpp build + mcpp run From 9fb190ebf3afa03d7371bf59921b0918586c44c7 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 09:53:40 +0800 Subject: [PATCH 12/17] update --- .github/workflows/ci-fresh-install.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 7db8678..b825081 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -43,13 +43,11 @@ jobs: - name: Install mcpp and config mirror run: | xlings install mcpp -y -g # install to global - xlings install mcpp -y # install to local project (TODO: optimize) mcpp --version mcpp self config --mirror GLOBAL echo "mcpp debug info:" which mcpp - xlings use mcpp cat $HOME/.xlings/.xlings.json - name: "GCC: mcpp new → run" @@ -114,13 +112,11 @@ jobs: - name: Install mcpp and config mirror run: | xlings install mcpp -y -g # install to global - xlings install mcpp -y # install to local project (TODO: optimize) mcpp --version mcpp self config --mirror GLOBAL echo "mcpp debug info:" which mcpp - xlings use mcpp cat $HOME/.xlings/.xlings.json - name: "LLVM: mcpp new → run" @@ -162,12 +158,10 @@ jobs: shell: pwsh run: | xlings install mcpp -y -g - xlings install mcpp -y cat "$env:USERPROFILE\.xlings\.xlings.json" mcpp --version mcpp self config --mirror GLOBAL - xlings use mcpp - name: "LLVM: mcpp new → run" shell: pwsh From 9833f495bbeac6c904a4d7305b14f330aa196d3e Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 10:00:57 +0800 Subject: [PATCH 13/17] update --- .github/workflows/ci-fresh-install.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index b825081..624af9d 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -122,14 +122,12 @@ jobs: - name: "LLVM: mcpp new → run" run: | cd "$(mktemp -d)" - xlings use mcpp mcpp new hello_mac cd hello_mac mcpp run - name: "LLVM: build mcpp" run: | - xlings use mcpp mcpp clean mcpp run From ea18f96088819da221a4af37e117d36869fdc13a Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 10:08:21 +0800 Subject: [PATCH 14/17] update --- .github/workflows/ci-fresh-install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 624af9d..d036160 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -157,6 +157,7 @@ jobs: run: | xlings install mcpp -y -g + cat .xlings/.xlings.json cat "$env:USERPROFILE\.xlings\.xlings.json" mcpp --version mcpp self config --mirror GLOBAL From beeb75f1cdc7538583e1acb02acdf77a3a6f3f16 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 10:12:02 +0800 Subject: [PATCH 15/17] update --- .github/workflows/ci-fresh-install.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index d036160..35a96ea 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -50,14 +50,14 @@ jobs: which mcpp cat $HOME/.xlings/.xlings.json - - name: "GCC: mcpp new → run" + - name: "Default: mcpp new → run" run: | cd "$(mktemp -d)" mcpp new hello_gcc cd hello_gcc mcpp run - - name: "GCC: build mcpp" + - name: "Default: build mcpp" run: | mcpp clean mcpp run @@ -77,6 +77,21 @@ jobs: mcpp clean mcpp run + - name: "gcc 16: mcpp new → run" + run: | + mcpp toolchain install gcc 16.1.0 + mcpp toolchain default gcc@16.1.0 + cd "$(mktemp -d)" + mcpp new hello_gcc16 + cd hello_gcc16 + mcpp run + + - name: "gcc 16: build mcpp" + run: | + mcpp toolchain default gcc@16.1.0 + mcpp clean + mcpp run + - name: "LLVM: mcpp new → run" run: | mcpp toolchain install llvm 20.1.7 From 0fd1cbdaf51a10f89add6fc1fbd1fca213aa1e95 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 10:13:21 +0800 Subject: [PATCH 16/17] update --- .github/workflows/ci-fresh-install.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 35a96ea..56db9b7 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -170,9 +170,8 @@ jobs: - name: Install mcpp and config mirror shell: pwsh run: | - xlings install mcpp -y -g + xlings install mcpp -y -g --verbose - cat .xlings/.xlings.json cat "$env:USERPROFILE\.xlings\.xlings.json" mcpp --version mcpp self config --mirror GLOBAL From 82f183a7988b04a7469078d9e47f6808d7509caf Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Fri, 22 May 2026 12:02:39 +0800 Subject: [PATCH 17/17] chore: bump version to 0.0.24, trigger ci-fresh-install on release --- .github/workflows/ci-fresh-install.yml | 6 +++--- mcpp.toml | 2 +- src/toolchain/fingerprint.cppm | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-fresh-install.yml b/.github/workflows/ci-fresh-install.yml index 56db9b7..d5cf6ca 100644 --- a/.github/workflows/ci-fresh-install.yml +++ b/.github/workflows/ci-fresh-install.yml @@ -8,11 +8,11 @@ name: ci-fresh-install # 2. mcpp build (build mcpp itself from source) # # This workflow tests released mcpp, not PR code. -# It runs on PRs to main, manual trigger, and daily schedule. +# It runs on release publish, manual trigger, and daily schedule. on: - pull_request: - branches: [ main ] + release: + types: [ published ] workflow_dispatch: schedule: # Run daily at 06:00 UTC to catch issues from xlings/runner updates diff --git a/mcpp.toml b/mcpp.toml index 52c4ec8..97115a0 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -1,6 +1,6 @@ [package] name = "mcpp" -version = "0.0.23" +version = "0.0.24" description = "Modern C++ build & package management tool" license = "Apache-2.0" authors = ["mcpp-community"] diff --git a/src/toolchain/fingerprint.cppm b/src/toolchain/fingerprint.cppm index 589d57c..eb996f5 100644 --- a/src/toolchain/fingerprint.cppm +++ b/src/toolchain/fingerprint.cppm @@ -18,7 +18,7 @@ import mcpp.toolchain.detect; export namespace mcpp::toolchain { -inline constexpr std::string_view MCPP_VERSION = "0.0.23"; +inline constexpr std::string_view MCPP_VERSION = "0.0.24"; struct FingerprintInputs { Toolchain toolchain;