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 7f137b1 Update github workflows
7f137b1 is described below
commit 7f137b12c0afce0cf1970c4c8c939ddb953b23fd
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Apr 17 13:14:16 2020 +0200
Update github workflows
---
.github/workflows/coverage.yml | 82 +++++++++++++++++++++---------------------
.github/workflows/macos.yml | 2 +-
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index fcf6c48..79e3bce 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -5,44 +5,44 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
- steps:
- - name: Checkout source code
- uses: actions/checkout@master
- - name: Install dependencies
- run: |
- sudo apt-get update
- sudo apt-get install -yq --no-install-recommends \
- build-essential \
- curl \
- uuid-dev \
- libjansson-dev \
- libcurl4-openssl-dev \
- default-jdk \
- cmake \
- libffi-dev \
- libxml2-dev \
- libczmq-dev \
- libcpputest-dev
- cd $GITHUB_WORKSPACE
- - name: Build
- env:
- BUILD_OPTIONS: |
- -DENABLE_TESTING=ON
- -DENABLE_CODE_COVERAGE=ON
- run: |
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
- make -j
- - name: Test
- run: |
- cd $GITHUB_WORKSPACE/build
- export
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
- make test ARGS="-V"
- - name: Coverage
- run: |
- make coverage
- - name: Coveralls
- uses: coverallsapp/github-action@master
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
+ steps:
+ - name: Checkout source code
+ uses: actions/checkout@master
+ - name: Install dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install -yq --no-install-recommends \
+ build-essential \
+ curl \
+ uuid-dev \
+ libjansson-dev \
+ libcurl4-openssl-dev \
+ default-jdk \
+ cmake \
+ libffi-dev \
+ libxml2-dev \
+ libczmq-dev \
+ libcpputest-dev
+ cd $GITHUB_WORKSPACE
+ - name: Build
+ env:
+ BUILD_OPTIONS: |
+ -DENABLE_TESTING=ON
+ -DENABLE_CODE_COVERAGE=ON
+ run: |
+ mkdir build
+ cd build
+ cmake -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
+ make -j
+ - name: Test
+ run: |
+ cd $GITHUB_WORKSPACE/build
+ export
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
+ make test ARGS="-V"
+ - name: Coverage
+ run: |
+ make coverage
+ - name: Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 487fc0f..d20fd42 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -1,4 +1,4 @@
-name: Celix
+name: Celix MacOS
on: [push, pull_request]