Skip to content

Commit

Permalink
[CI] Fix codecov collection (#73)
Browse files Browse the repository at this point in the history
* [CI] Testing fix for code coverage collection

* [CI] Add option to manually trigger CI run
  • Loading branch information
noelchalmers authored Sep 7, 2021
1 parent 45c913c commit 2970615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
Expand Down
9 changes: 4 additions & 5 deletions make.top
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,15 @@ export LIBP_MPICXX= mpic++
export LIBP_LD = mpic++

export LIBP_CFLAGS=-O2 -fopenmp -g -Wall -Wshadow -Wno-unused-function
export LIBP_MPICFLAGS=$(LIBP_CFLAGS)

export LIBP_CXXFLAGS=-O2 -fopenmp -g -Wall -Wshadow -Wno-unused-function -std=c++11
export LIBP_MPICXXFLAGS=$(LIBP_CXXFLAGS)

ifeq (1,${LIBP_COVERAGE})
export LIBP_CXXFLAGS+=--coverage
export LIBP_MPICXXFLAGS+=--coverage
export LIBP_CXXFLAGS+= --coverage -fprofile-abs-path
endif

export LIBP_MPICFLAGS=$(LIBP_CFLAGS)
export LIBP_MPICXXFLAGS=$(LIBP_CXXFLAGS)

export LIBP_LIBS=${LIBP_BLAS_LIB} \
${LIBP_LAPACK_LIB} \
-Wl,-rpath=$(OCCA_DIR)/lib -L$(OCCA_DIR)/lib -locca
Expand Down

0 comments on commit 2970615

Please sign in to comment.