Skip to content

Commit

Permalink
CI: Added MinGW llvm to Windows GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Repiteo committed Oct 11, 2024
1 parent 92e51fc commit 2468c5d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
bin: ./bin/godot.windows.template_release.x86_64.console.exe
compiler: gcc

- name: Template w/ clang (target=template_release, tests=yes, use_mingw=yes, use_llvm=yes)
cache-name: windows-template-llvm
target: template_release
tests: true
sconsflags: debug_symbols=no use_mingw=yes use_llvm=yes mingw_prefix=${{ github.workspace }}/llvm-mingw
bin: ./bin/godot.windows.template_release.x86_64.llvm.console.exe
compiler: llvm

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -94,6 +102,16 @@ jobs:
if: matrix.compiler != 'msvc'
uses: ammaraskar/gcc-problem-matcher@master

- name: Download llvm-mingw
if: matrix.compiler == 'llvm'
uses: robinraju/release-downloader@v1
with:
repository: mstorsjo/llvm-mingw
latest: true
extract: true
out-file-path: llvm-mingw
fileName: llvm-mingw-*-ucrt-x86_64.zip

- name: Compilation
uses: ./.github/actions/godot-build
with:
Expand Down

0 comments on commit 2468c5d

Please sign in to comment.