@@ -42,27 +42,27 @@ jobs:
4242
4343 - name : Install mcpp and config mirror
4444 run : |
45- xlings install mcpp -y -g
46- xlings install mcpp -y
47- which mcpp
45+ xlings install mcpp -y -g # install to global
46+ xlings install mcpp -y # install to local project (TODO: optimize)
4847 mcpp --version
4948 mcpp self config --mirror GLOBAL
49+
50+ echo "mcpp debug info:"
51+ which mcpp
5052 xlings use mcpp
5153 cat $HOME/.xlings/.xlings.json
5254
5355 - name : " GCC: mcpp new → run"
5456 run : |
5557 cd "$(mktemp -d)"
56- cat $HOME/.xlings/.xlings.json
57- xlings use mcpp
5858 mcpp new hello_gcc
5959 cd hello_gcc
6060 mcpp run
6161
6262 - name : " GCC: build mcpp"
6363 run : |
6464 mcpp clean
65- mcpp build
65+ mcpp run
6666
6767 - name : " musl-gcc: mcpp new → run"
6868 run : |
7777 run : |
7878 mcpp toolchain default gcc@15.1.0-musl
7979 mcpp clean
80- mcpp build
80+ mcpp run
8181
8282 - name : " LLVM: mcpp new → run"
8383 run : |
9292 run : |
9393 mcpp toolchain default llvm@20.1.7
9494 mcpp clean
95- mcpp build
95+ mcpp run
9696
9797 # ──────────────────────────────────────────────────────────────────
9898 # macOS: llvm@20.1.7
@@ -113,12 +113,15 @@ jobs:
113113
114114 - name : Install mcpp and config mirror
115115 run : |
116- xlings install mcpp -y -g
117- xlings install mcpp -y
118- which mcpp
116+ xlings install mcpp -y -g # install to global
117+ xlings install mcpp -y # install to local project (TODO: optimize)
119118 mcpp --version
120119 mcpp self config --mirror GLOBAL
120+
121+ echo "mcpp debug info:"
122+ which mcpp
121123 xlings use mcpp
124+ cat $HOME/.xlings/.xlings.json
122125
123126 - name : " LLVM: mcpp new → run"
124127 run : |
@@ -132,7 +135,7 @@ jobs:
132135 run : |
133136 xlings use mcpp
134137 mcpp clean
135- mcpp build
138+ mcpp run
136139
137140 # ──────────────────────────────────────────────────────────────────
138141 # Windows: llvm@20.1.7 + MSVC STL
@@ -160,6 +163,8 @@ jobs:
160163 run : |
161164 xlings install mcpp -y -g
162165 xlings install mcpp -y
166+
167+ cat "$env:USERPROFILE\.xlings\.xlings.json"
163168 mcpp --version
164169 mcpp self config --mirror GLOBAL
165170 xlings use mcpp
@@ -177,4 +182,4 @@ jobs:
177182 shell : pwsh
178183 run : |
179184 mcpp clean
180- mcpp build
185+ mcpp run
0 commit comments