Commit 5f6a96e
authored
ci(fresh-install): add findutils to arch/tumbleweed distro legs (#135)
* ci(fresh-install): add findutils to arch/tumbleweed distro legs
quick_install.sh (fetched from xlings main) locates the extracted
xlings dir with `find`. On opensuse/tumbleweed:latest, which ships
without findutils, the install died with:
bash: line 148: find: command not found
exit code 127
before mcpp ever ran. The arch leg lacked an explicit findutils too
and only passed because the base image bundles it.
List findutils explicitly on both legs (matching fedora/debian/ubuntu)
and add a matrix note so the hard `find` dependency isn't dropped again.
Failing run: https://github.com/mcpp-community/mcpp/actions/runs/27796803895
* ci(fresh-install): drop redundant GITHUB_PATH append in container leg
The findutils fix unmasked a second, tumbleweed-only failure at the
start of "Configure mcpp":
OCI runtime exec failed: exec: "sh": executable file not found in $PATH
exit code 127
opensuse/tumbleweed's image declares no PATH in its config. Appending a
single dir to $GITHUB_PATH makes the runner exec every later step's
`sh` with only that dir on PATH, so /usr/bin/sh becomes unfindable. The
setup/install steps passed only because they ran before the append.
Every container-matrix step already does
`export PATH="$HOME/.xlings/subos/current/bin:$PATH"` in its own
script, so the GITHUB_PATH append was redundant — and the sole cause of
the corruption. Drop it. (The bare linux-fresh leg keeps its
GITHUB_PATH: its later steps call mcpp directly without re-exporting.)1 parent 5003873 commit 5f6a96e
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
145 | | - | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | | - | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| |||
167 | 173 | | |
168 | 174 | | |
169 | 175 | | |
170 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
171 | 183 | | |
172 | 184 | | |
173 | 185 | | |
| |||
0 commit comments