-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (45 loc) · 1.3 KB
/
linux-eic-shell.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
name: linux-eic-shell
on: [push, pull_request]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
platform-release: "jug_xl:nightly"
run: |
PREFIX=${PWD}/install
# install this repo
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX}
cmake --build build -- install
- uses: actions/upload-artifact@v3
with:
name: install-eic-shell
path: install/
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: build-eic-shell
path: build/
if-no-files-found: error
clang-tidy:
runs-on: ubuntu-latest
needs: build-test
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@v2
- uses: actions/download-artifact@v3
with:
name: build-eic-shell
path: build/
- uses: eic/run-cvmfs-osg-eic-shell@main
with:
platform-release: "jug_xl:nightly"
run: |
run-clang-tidy -p build -export-fixes clang_tidy_fixes.yml -extra-arg='-std=c++20'
- uses: actions/upload-artifact@v3
with:
name: clang-tidy-fixes.yml
path: clang_tidy_fixes.yml