forked from opencollab/llvm-toolchain-integration-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 974 Bytes
/
fedora.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
name: Build on fedora
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
fedora-version: [37, rawhide]
container:
image: "fedora:${{matrix.fedora-version}}"
# These options are required to be able to run lldb inside the container
options: "--cap-add=SYS_PTRACE --security-opt seccomp=unconfined"
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo dnf install -y llvm-devel clang-devel cmake make python3-lit \
lld lldb clang-analyzer clang-tools-extra gcc gcc-c++ \
libcxx-devel compiler-rt libstdc++-devel \
glibc-static libcxx-static libstdc++-static mlir mlir-devel \
llvm-libunwind llvm-libunwind-devel
- name: Run the testsuite
run: |
mkdir build && cd build
cmake ..
cmake --build . --target check -v