Exclude stb_image_resize2.h from clang format #862
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows arm64 CI (mingw) | |
| on: [push, pull_request] | |
| jobs: | |
| build-mingw: | |
| name: ${{ matrix.platform.name }} | |
| runs-on: ${{ matrix.platform.os }} | |
| permissions: | |
| contents: write | |
| defaults: | |
| run: | |
| shell: ${{ matrix.platform.shell }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - { name: Windows (clangarm64), os: windows-11-arm, shell: 'msys2 {0}', msystem: clangarm64, msys-env: mingw-w64-clang-aarch64, makefile: Makefile.w64a } | |
| steps: | |
| - name: Set up MSYS2 | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ${{ matrix.platform.msystem }} | |
| install: base-devel | |
| zip | |
| ${{ matrix.platform.msys-env }}-gcc-compat | |
| ${{ matrix.platform.msys-env }}-glslang | |
| ${{ matrix.platform.msys-env }}-vulkan-headers | |
| ${{ matrix.platform.msys-env }}-opus | |
| ${{ matrix.platform.msys-env }}-opusfile | |
| ${{ matrix.platform.msys-env }}-mpg123 | |
| ${{ matrix.platform.msys-env }}-sdl3 | |
| ${{ matrix.platform.msys-env }}-flac | |
| ${{ matrix.platform.msys-env }}-libmad | |
| ${{ matrix.platform.msys-env }}-libogg | |
| ${{ matrix.platform.msys-env }}-libvorbis | |
| ${{ matrix.platform.msys-env }}-libxmp | |
| - uses: actions/checkout@v6 | |
| - name: Determine version | |
| id: version | |
| shell: bash | |
| run: | | |
| if [[ "$GITHUB_REF" == refs/tags/* ]]; then | |
| echo "version=$GITHUB_REF_NAME" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "version=${GITHUB_SHA::8}" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Build MinGW | |
| run: | | |
| set -eu | |
| parallel="$(getconf _NPROCESSORS_ONLN)" | |
| make -j"${parallel}" -C Quake -f ${{ matrix.platform.makefile }} all | |
| - name: Upload vkQuake | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: vkQuake archive (${{ matrix.platform.name }}) | |
| path: | | |
| Quake/*.exe | |
| Quake/*.dll | |
| - name: Package | |
| run: | | |
| set -eu | |
| zip -j vkQuake-${{ steps.version.outputs.version }}_windows_arm64.zip Quake/*.exe Quake/*.dll LICENSE.txt | |
| - name: Upload package | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: vkQuake package (arm64) | |
| path: vkQuake-*_windows_arm64.zip | |
| - name: Attach to release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| draft: true | |
| files: vkQuake-*_windows_arm64.zip |