Skip to content

Commit

Permalink
try clang_cl
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Nov 13, 2024
1 parent dc8cfeb commit 911889d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/msvc_clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Windows-MSVC-CLANG

on:
push:
workflow_dispatch:
inputs:
debug_enabled:
description: 'Run the build with tmate debugging enabled by `debug_enabled` keyword (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

concurrency:
group: ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }}
cancel-in-progress: true

jobs:
windows_ref:
name: msvc/clang
runs-on: [windows-latest]
steps:
- name: Checkout the latest code (shallow clone)
uses: actions/checkout@v3
- name: Debug over SSH (tmate)
uses: mxschmitt/[email protected]
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true
- name: configure
run: |
mkdir build
cd build
cmake -T ClangCL -DBUILD_SHARED_LIBS=OFF -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_OMP=OFF ..
cmake --build . -j4

0 comments on commit 911889d

Please sign in to comment.