forked from HDFGroup/hermes
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.15 KB
/
h5io_kmu.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
name: h5iotest_kmu
on:
push:
branches: [ gh-pages ]
workflow_dispatch:
env:
BUILD_TYPE: Debug
LOCAL: local
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- name: Get Sources
uses: actions/checkout@v2
- name: Cache Spack packages
uses: actions/cache@v2
id: spack-cache
with:
path: ~/${{ env.LOCAL }}
key: ${{ runner.os }}-${{ hashFiles('ci/**') }}
- name: Install APT Dependencies
run: |
sudo apt update
sudo apt-get install -y autoconf
sudo apt-get install -y automake
sudo apt-get install -y libtool
sudo apt-get install -y libtool-bin
sudo apt-get install -y mpich
sudo apt-get install -y lcov
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y libsdl2-dev
- name: Build And Install Dependencies
if: steps.spack-cache.outputs.cache-hit != 'true'
run: ci/install_deps_cmake.sh
- name: Build and Test
run: ci/install_h5iotest_kmu.sh