From 96175e2279f6791669ca58551d47d1b89213cbd2 Mon Sep 17 00:00:00 2001 From: Quinton Miller Date: Wed, 4 Sep 2024 18:14:04 +0800 Subject: [PATCH] use release compiler instead --- .github/workflows/win.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index d967146c2a6d..8b6490a4801b 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -265,9 +265,17 @@ jobs: - name: Build samples run: make -f Makefile.win samples + x86_64-windows-release: + if: github.repository_owner == 'crystal-lang' && (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/ci/')) + needs: [x86_64-windows-libs, x86_64-windows-dlls, x86_64-windows-llvm-libs, x86_64-windows-llvm-dlls] + uses: ./.github/workflows/win_build_portable.yml + with: + release: true + llvm_version: "18.1.1" + x86_64-windows-test-interpreter: runs-on: windows-2022 - needs: [x86_64-windows] + needs: [x86_64-windows-release] steps: - name: Disable CRLF line ending substitution run: | @@ -279,7 +287,7 @@ jobs: - name: Download Crystal executable uses: actions/download-artifact@v4 with: - name: crystal + name: crystal-release path: build - name: Restore LLVM @@ -300,14 +308,6 @@ jobs: - name: Run primitives specs with interpreter run: bin\crystal i spec\primitives_spec.cr - x86_64-windows-release: - if: github.repository_owner == 'crystal-lang' && (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/ci/')) - needs: [x86_64-windows-libs, x86_64-windows-dlls, x86_64-windows-llvm-libs, x86_64-windows-llvm-dlls] - uses: ./.github/workflows/win_build_portable.yml - with: - release: true - llvm_version: "18.1.1" - x86_64-windows-installer: if: github.repository_owner == 'crystal-lang' && (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/ci/')) runs-on: windows-2022