Skip to content

Commit

Permalink
use release compiler instead
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil committed Sep 4, 2024
1 parent 8f294f2 commit 96175e2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 96175e2

Please sign in to comment.