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 24, 2024
1 parent ecf7503 commit ec21f95
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/create_llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ 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:
Expand All @@ -25,6 +25,18 @@ jobs:
version: 17
- arch: aarch64
build_type: Release
- arch: aarch64
build_type: windows-2019
- os: ubuntu-22.04
# version: 17
# - os: ubuntu-22.04
# arch: aarch64
# - os: ubuntu-22.04
# build_type: Release
- os: windows-2019
version: 17
- os: windows-2019
build_type: Release
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 @@ -41,7 +53,8 @@ jobs:
- build_type: Release
build_type_flags: -DCMAKE_BUILD_TYPE=Release

runs-on: ${{ matrix.os }}
runs-on: windows-2019
#${{ matrix.os }}
steps:
- name: Cache llvm
id: cache
Expand All @@ -51,6 +64,11 @@ jobs:
llvm_install/**
key: llvm-${{ matrix.os }}-${{ matrix.arch }}-v${{ matrix.version }}-${{ matrix.build_type }}

- name: Setup Windows
if: startsWith(runner.os, 'Windows')
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 ec21f95

Please sign in to comment.