This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/coverage_on_github_workflow
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/coverage_on_github_workflow by this push:
     new fc72e40  Updates github workflows
fc72e40 is described below

commit fc72e4080b0c438a099662f88e9858379131d9fb
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Apr 17 13:36:27 2020 +0200

    Updates github workflows
---
 .github/workflows/coverage.yml | 6 ++++--
 .github/workflows/ubuntu.yml   | 4 ++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 9d0c977..3ce90ee 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -3,7 +3,7 @@ name: Celix Coverage
 on: [push, pull_request]
 
 jobs:
-  build:
+  coverage:
     runs-on: ubuntu-18.04
     steps:
       - name: Checkout source code
@@ -32,7 +32,7 @@ jobs:
         run: |
           mkdir build
           cd build
-          cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
+          cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS} ..
           make -j
       - name: Test
         run: |
@@ -41,6 +41,8 @@ jobs:
           make test ARGS="-V"
       - name: Coverage
         run: |
+          cd $GITHUB_WORKSPACE/build
+          export 
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
           make coverage
       - name: Coveralls
         uses: coverallsapp/github-action@master
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index a58a272..9b3f41b 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -13,12 +13,15 @@ jobs:
         include:
           - os: ubuntu-18.04
             compiler: clang
+            cxx_compiler: clang++
           - os: ubuntu-18.04
             name: sanitizer
             compiler: gcc
+            cxx_compiler: g++
           - os: ubuntu-18.04
             name: only v3 api
             compiler: gcc
+            cxx_compiler: g++
             v3_api: true
     timeout-minutes: 120
     steps:
@@ -43,6 +46,7 @@ jobs:
     - name: Build
       env:
         CC: ${{ matrix.compiler }}
+        CXX: ${{ matrix.cxx_compiler }}
         BUILD_OPTIONS: |
           -DENABLE_TESTING=ON
           -DENABLE_ADDRESS_SANITIZER=ON

Reply via email to