Merge remote-tracking branch 'upstream/main' into VulkanV3Update

This commit is contained in:
Inforithmics 2025-10-06 11:39:24 +02:00
commit f2842defcb
1 changed files with 6 additions and 2 deletions

View File

@ -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