Skip to content

Commit 5a2124b

Browse files
serge-sans-pailleserge-sans-paille
authored andcommitted
Setup default build action for llvm
1 parent fc466f8 commit 5a2124b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/llvm.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build_llvm:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os:
12+
- ubuntu-latest
13+
- windows-latest
14+
- macOS-latest
15+
cmake_args:
16+
- ""
17+
steps:
18+
- name: Setup Windows
19+
if: startsWith(matrix.os, 'windows')
20+
uses: tstellar/actions/setup-windows@master
21+
with:
22+
arch: amd64
23+
- uses: actions/checkout@v1
24+
with:
25+
fetch-depth: 1
26+
- name: Install Ninja
27+
uses: tstellar/actions/install-ninja@master
28+
with:
29+
os: ${{ runner.os }}
30+
- name: Test LLVM
31+
uses: tstellar/actions/build-test-llvm-project@master
32+
with:
33+
cmake_args: -G Ninja -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_args }}
34+
os: ${{ runner.os }}

0 commit comments

Comments
 (0)