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 e597b34 Updates github workflows
e597b34 is described below
commit e597b34f4fefd4fe224e807cb73f9cd6f914502a
Author: Pepijn Noltes <[email protected]>
AuthorDate: Fri Apr 17 13:22:52 2020 +0200
Updates github workflows
---
.github/workflows/coverage.yml | 84 +++++++++++++++++++++---------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index c234f30..9d0c977 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -4,45 +4,45 @@ on: [push, pull_request]
jobs:
build:
- runs-on: ubuntu-latest
- 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
+ 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