Skip to content

Commit 543aa8c

Browse files
serge-sans-pailleserge-sans-paille
authored andcommitted
Enable Arch Linux CI
This displays how to add container-base checks. Use Arch Linux as a showcase. Fix #40
1 parent 84f6a6d commit 543aa8c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/archlinux.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build on Arch Linux
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-20.04
9+
strategy:
10+
fail-fast: false
11+
container:
12+
image: "archlinux"
13+
# These options are required to be able to run lldb inside the container
14+
options: "--cap-add=SYS_PTRACE --security-opt seccomp=unconfined"
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Install Dependencies
18+
run: pacman -Syu --noconfirm llvm clang cmake make lld lldb gcc libc++ openmp
19+
- name: Run the testsuite
20+
run: |
21+
mkdir build && cd build
22+
cmake .. -DENABLE_LIBUNWIND=OFF -DENABLE_STATIC_LIBCXX=OFF
23+
cmake --build . --target check -v

0 commit comments

Comments
 (0)