Unverified Commit 292767af authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

CI: fix win arm build (#12502)

Resolve subtle erroraction stickiness difference between x86 and arm builder setup
parent ae5e0f08
...@@ -214,11 +214,15 @@ jobs: ...@@ -214,11 +214,15 @@ jobs:
go-version-file: go.mod go-version-file: go.mod
- name: Verify gcc is actually clang - name: Verify gcc is actually clang
run: | run: |
gcc -v $ErrorActionPreference='Continue'
if (((& gcc -v 2>&1) -join "`n") -notmatch 'clang') { $version=& gcc -v 2>&1
$version=$version -join "`n"
echo "gcc is $version"
if ($version -notmatch 'clang') {
echo "ERROR: GCC must be clang for proper utf16 handling" echo "ERROR: GCC must be clang for proper utf16 handling"
exit 1 exit 1
} }
$ErrorActionPreference='Stop'
- run: | - run: |
go build -o dist/${{ matrix.os }}-${{ matrix.arch }}/ . go build -o dist/${{ matrix.os }}-${{ matrix.arch }}/ .
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment