-
Notifications
You must be signed in to change notification settings - Fork 46
49 lines (41 loc) · 944 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
version:
- 15
runs-on: "${{ matrix.os }}"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install LLVM and Clang
uses: ./
with:
version: "${{ matrix.version }}"
env: true
- name: Test (Ubuntu / macOS)
if: runner.os == 'ubuntu' || runner.os == 'macos'
run: |
echo $CC
echo $CXX
$CC --version
$CXX --version
- name: Test (Windows)
if: runner.os == 'windows'
run: |
echo $env:CC
echo $env:CXX
clang --version
clang++ --version