forked from szcompressor/cuSZ
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 2.29 KB
/
master-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
name: CI-master
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
- 'doc/**'
- 'data/**'
- 'LICENSE'
- 'changelog'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
- 'doc/**'
- 'data/**'
- 'LICENSE'
- 'changelog'
workflow_dispatch:
jobs:
test:
runs-on: [self-hosted,gpu]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
# - run: module load gcc/7.3.0
# - run: gcc -v
# - run: g++ -v
# - run: module load cuda/10.1
# - run: nvcc --version
# - run: module load cmake/3.17.0
- name: compilation
run: chmod 755 ./build.py && ./build.py compat
- name: test with gzip option activated
run: |
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/cesm-CLDHGH-3600x1800 -l 3600,1800 --gzip -z -x --origin ./data/cesm-CLDHGH-3600x1800 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-4.0 -i ./data/exafel-59200x388 -l 59200,388 --gzip -z -x --origin ./data/exafel-59200x388 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/hurr-CLOUDf48-500x500x100 -D hurricane --gzip -z -x --origin ./data/hurr-CLOUDf48-500x500x100 --gtest
- name: test with nvcomp option activated
run: |
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/cesm-CLDHGH-3600x1800 -l 3600,1800 --nvcomp -z -x --origin ./data/cesm-CLDHGH-3600x1800 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-4.0 -i ./data/exafel-59200x388 -l 59200,388 --nvcomp -z -x --origin ./data/exafel-59200x388 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/hurr-CLOUDf48-500x500x100 -D hurricane --nvcomp -z -x --origin ./data/hurr-CLOUDf48-500x500x100 --gtest
- name: test with gzip and nvcomp option both activated
run: |
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/cesm-CLDHGH-3600x1800 -l 3600,1800 --gzip --nvcomp -z -x --origin ./data/cesm-CLDHGH-3600x1800 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-4.0 -i ./data/exafel-59200x388 -l 59200,388 --gzip --nvcomp -z -x --origin ./data/exafel-59200x388 --gtest
./bin/cusz -t f32 -m r2r -e 1.0e-3.0 -i ./data/hurr-CLOUDf48-500x500x100 -D hurricane --gzip --nvcomp -z -x --origin ./data/hurr-CLOUDf48-500x500x100 --gtest