Skip to content

Commit 77670fd

Browse files
Merge pull request #598 from AlexanderRichert-NOAA/add_cdash
Add CDash workflow
2 parents ef5c325 + 0375e9d commit 77670fd

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/cdash.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: cdash
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
7+
jobs:
8+
cdash:
9+
runs-on: ubuntu-latest
10+
11+
env:
12+
FC: gfortran
13+
CC: gcc
14+
CDASH_TOKEN: ${{ secrets.CDASH_TOKEN }}
15+
16+
steps:
17+
18+
- name: "Install various dependencies with apt"
19+
run: sudo apt-get install libpng-dev zlib1g-dev libjpeg-dev libopenjp2-7-dev libaec-dev
20+
21+
- name: "Build dependencies"
22+
uses: NOAA-EMC/ci-build-nceplibs@oneinstalldir
23+
with:
24+
jasper-version: version-4.0.0
25+
26+
- name: CDash
27+
uses: NOAA-EMC/ci-cdash@develop

spack/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ def setup_run_environment(self, env):
9292
env.set("G2C_INC", join_path(self.prefix, "include"))
9393

9494
def check(self):
95-
with working_dir(self.builder.build_directory):
95+
with working_dir(self.build_directory):
9696
make("test")

0 commit comments

Comments
 (0)