forked from shedsaw/exciting-plus-rgvw-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (42 loc) · 1.47 KB
/
CI.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
on: [ push, pull_request, workflow_dispatch ]
jobs:
build-x64:
runs-on: [ self-hosted, linux, x64 ]
steps:
# Check out repo
- uses: actions/checkout@v2
# Set environment variables
- id: setenv
name: "Set MODULEPATH environment variable"
shell: bash
run: export MODULEPATH=/opt/modulefiles/Compiler:/opt/modulefiles/Linux
# Build the code with GCC
- id: build-x64-gcc
name: "Build Exciting-Plus, CPU-only version, on amd64 with GCC"
shell: bash
run: ./compile-basecamp.sh gcc
# Build the code with AOCC/Flang
- id: build-x64-aocc
name: "Build Exciting-Plus, CPU-only version, on amd64 with AOCC/Flang"
shell: bash
run: ./compile-basecamp.sh llvm
build-arm64:
runs-on: [ self-hosted, linux, ARM64 ]
steps:
# Check out repo
- uses: actions/checkout@v2
# Build the code with GCC
- id: build-arm64-gcc
name: "Build Exciting-Plus, CPU-only version, on aarch64 with GCC"
shell: bash
run: ./compile-jetson.sh gcc
# Build the code with NVIDIA HPC SDK
- id: build-arm64-nv
name: "Build Exciting-Plus, CPU-only version, on aarch64 with NVIDIA HPC SDK"
shell: bash
run: ./compile-jetson.sh nv
- id: build-arm64-nv-acc
name: "Build Exciting-Plus, OpenACC version, on aarch64 with NVIDIA HPC SDK"
shell: bash
run: ./compile-jetson.sh nv acc