Skip to content

Update docs for LLVM 14 (#168) #315

Update docs for LLVM 14 (#168)

Update docs for LLVM 14 (#168) #315

name: "windows CI Bazel"
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- created
jobs:
test:
name: "Bazel Windows Test"
runs-on: ${{ matrix.config.os }}
env: ${{ matrix.config.env }}
strategy:
fail-fast: false
matrix:
config:
- { os: "windows-2019", arch: "amd64", target: "default", env: {} }
- { os: "windows-2019", arch: "x86", target: "default", env: {} }
steps:
- name: Get Timestamp
id: timestamp
run: Write-Host "::set-output name=timestamp::$([DateTime]::UtcNow.ToString('o'))"
shell: pwsh
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Bazel cache
id: cache-bazel
uses: actions/[email protected]
with:
path: ~/.cache/bazel/
key: ${{ matrix.config.os }}-${{ matrix.config.arch }}-bazel-${{ steps.timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.config.os }}-${{ matrix.config.arch }}-bazel-
- name: "Running unit tests"
run: |
bazelisk test --test_output=all --keep_going --config msvc --disk_cache=~/.cache/bazel/ //qir/...
env:
CC: clang.exe
CXX: clang++