-
Notifications
You must be signed in to change notification settings - Fork 3
73 lines (58 loc) · 1.62 KB
/
build-and-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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: er build only
permissions:
actions: write
on:
push:
branches:
- main
pull_request:
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
target: [Debug, Release]
static: [both, static]
name: ${{ matrix.os }}-${{ matrix.target }}-${{ matrix.static }}
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
with:
path: er
fetch-depth: 0
- name: get deps
uses: ecp-veloc/github-actions/get-scr-os-deps@main
with:
os: ${{ matrix.os }}
- name: install kvtree
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main
with:
component: kvtree
- name: install rankstr
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main
with:
component: rankstr
- name: install redset
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main
with:
component: redset
- name: install shuffile
uses: ecp-veloc/github-actions/build-ecp-veloc-component@main
with:
component: shuffile
- name: configure
uses: ecp-veloc/github-actions/cmake-configure@main
with:
component: er
target: ${{ matrix.target }}
static: ${{ matrix.static == 'static' }}
- name: build
uses: ecp-veloc/github-actions/cmake-build@main
with:
component: er
- name: test
if: false
uses: ecp-veloc/github-actions/cmake-test@main
with:
component: er