forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (41 loc) · 971 Bytes
/
lld-tests.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
name: LLD Tests
on:
push:
branches:
- 'release/**'
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'
pull_request:
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'
jobs:
build_lld:
name: lld check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@main
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- uses: actions/checkout@v1
with:
fetch-depth: 250
- name: Test lld
uses: llvm/actions/build-test-llvm-project@main
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="lld" -DCMAKE_BUILD_TYPE=Release
build_target: check-lld