forked from lanl/ELEMENTS
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 767 Bytes
/
Copy pathLinux.yaml
File metadata and controls
34 lines (27 loc) · 767 Bytes
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
# Build, test, and install on different versions of Ubuntu
name: Linux
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
# CMake configuration for basic build
CMAKE_CONFIG_FLAGS: -DCMAKE_INSTALL_PREFIX=`pwd` -DCMAKE_BUILD_TYPE=Release
jobs:
build-test-install:
strategy:
matrix:
#os: [ubuntu-18.04, ubuntu-latest]
os: [ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build ${{env.CMAKE_CONFIG_FLAGS}}
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Install
run: cmake --install ${{github.workspace}}/build