File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 # Point the e2e runner at the freshly-built binary, not the
102102 # bootstrap one. Tests cd into mktemp -d, so $MCPP must be
103103 # absolute or the relative path breaks under the temp cwd.
104- MCPP=$(realpath "$(find target -type f -name mcpp | head -1)")
104+ MCPP=$(realpath "$(find target -type f -name mcpp -printf '%T@ %p\n' | sort -rn | head -1 | cut -d' ' -f2 )")
105105 test -x "$MCPP"
106106 export MCPP
107107 # Tests that set MCPP_HOME to a fresh tmpdir need an xlings
@@ -117,6 +117,6 @@ jobs:
117117
118118 - name : Self-host smoke (freshly-built mcpp builds itself again)
119119 run : |
120- MCPP=$(realpath "$(find target -type f -name mcpp | head -1)")
120+ MCPP=$(realpath "$(find target -type f -name mcpp -printf '%T@ %p\n' | sort -rn | head -1 | cut -d' ' -f2 )")
121121 "$MCPP" build
122122 "$MCPP" test
You can’t perform that action at this time.
0 commit comments