Skip to content

Commit

Permalink
Drop the non-release Windows compiler artifact (#15000)
Browse files Browse the repository at this point in the history
Since  #14964 we're building the compiler in release mode on every workflow run. We can use that build instead of the non-release build for workflow jobs that need a compiler.
  • Loading branch information
HertzDevil authored Sep 16, 2024
1 parent 5125f66 commit 849f71e
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,16 @@ jobs:
if: steps.cache-llvm-dlls.outputs.cache-hit != 'true'
run: .\etc\win-ci\build-llvm.ps1 -BuildTree deps\llvm -Version ${{ env.CI_LLVM_VERSION }} -TargetsToBuild X86,AArch64 -Dynamic

x86_64-windows:
x86_64-windows-release:
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: false
release: true
llvm_version: "18.1.1"

x86_64-windows-test:
runs-on: windows-2022
needs: [x86_64-windows]
needs: [x86_64-windows-release]
steps:
- name: Disable CRLF line ending substitution
run: |
Expand All @@ -238,7 +238,7 @@ jobs:
- name: Download Crystal executable
uses: actions/download-artifact@v4
with:
name: crystal
name: crystal-release
path: build

- name: Restore LLVM
Expand Down Expand Up @@ -266,13 +266,6 @@ jobs:
- name: Build samples
run: make -f Makefile.win samples

x86_64-windows-release:
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-release]
Expand Down

0 comments on commit 849f71e

Please sign in to comment.