Skip to content

Commit

Permalink
Add windows build of llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
coldav committed Sep 25, 2024
1 parent ecf7503 commit 2aaa378
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/create_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ jobs:
strategy:
matrix:
version: [17, 18]
os: [ubuntu-22.04]
os: [ubuntu-22.04, windows-2019]
build_type: [Release, RelAssert]
arch : [x86_64, aarch64]
exclude:
# For now just do latest llvm with aarch to reduce cache usage.
# For now just do latest llvm with aarch/windows to reduce cache usage.
- arch: aarch64
version: 17
- arch: aarch64
build_type: Release
- os: windows-2019
version: 17
- os: windows-2019
build_type: Release
- os: windows-2019
arch: aarch64
include:
# We want to set flags related to particular matrix dimensions. To do this
# we need to create default values first, and then against particular matrix
Expand All @@ -51,6 +57,11 @@ jobs:
llvm_install/**
key: llvm-${{ matrix.os }}-${{ matrix.arch }}-v${{ matrix.version }}-${{ matrix.build_type }}

- name: Setup Windows
if: startsWith(runner.os, 'Windows') && steps.cache.outputs.cache-hit != 'true'
uses: llvm/actions/setup-windows@main
with:
arch: amd64

- name: Checkout repo llvm
if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 2aaa378

Please sign in to comment.