Skip to content

Commit 90e26fa

Browse files
committed
ci-artifacts: build the minimal-sdk artifact for UCRT64, not MINGW64
The artifact's `/etc/profile` still hardcodes `MSYSTEM=MINGW64` and `PATH=/mingw64/bin:...` (please.sh writes that on the build-extra side), but on the ucrt64 branch the artifact actually ships `/ucrt64/bin/`. Override `MSYSTEM` and prepend `/ucrt64/bin` to `PATH` after sourcing `/etc/profile`, and update the gcc-path sanity check accordingly. Assisted-by: Opus 4.7 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent b9b796d commit 90e26fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ jobs:
5151
run: |
5252
set -x
5353
. /etc/profile
54+
export MSYSTEM=UCRT64
55+
export PATH=/ucrt64/bin:$PATH
5456
test "$(cygpath -aw /)" = "${{github.workspace}}\minimal-sdk" || exit 1
55-
test "$(type -p gcc)" = "/mingw64/bin/gcc" || exit 1
57+
test "$(type -p gcc)" = "/ucrt64/bin/gcc" || exit 1
5658
make -C ../git DEVELOPER=1 NO_PERL=1 NO_RUST=UnfortunatelyYes SKIP_DASHED_BUILT_INS=YesPlease -j8 all strip
5759
- name: compress git artifacts
5860
shell: bash

0 commit comments

Comments
 (0)