You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2020/03/29 19:36:51 UTC
[celix] branch feature/workflows_update created (now ac807c9)
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/workflows_update
in repository https://gitbox.apache.org/repos/asf/celix.git.
at ac807c9 Updates github workflows, removed building of czmq,jansson & cpputest
This branch includes the following new commits:
new ac807c9 Updates github workflows, removed building of czmq,jansson & cpputest
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[celix] 01/01: Updates github workflows, removed building of czmq,
jansson & cpputest
Posted by pn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/workflows_update
in repository https://gitbox.apache.org/repos/asf/celix.git
commit ac807c921c189697c19c5ca7714f00d7c3b1a8f9
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Sun Mar 29 21:36:15 2020 +0200
Updates github workflows, removed building of czmq,jansson & cpputest
---
.github/workflows/build.yml | 31 +++++++++++++------------------
1 file changed, 13 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 82f225b..ca60bd0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,30 +22,25 @@ jobs:
- name: Install dependencies
run: |
if [[ "${{ matrix.os }}" == "ubuntu"* ]]; then
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get -qq update
- sudo apt-get install -y uuid-dev libxml2-dev lcov libffi-dev libcurl4-openssl-dev gcc-4.8 g++-4.8
+ 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
fi
if [[ "${{ matrix.os }}" == "macOS"* ]]; then
brew update
- brew install lcov libffi zeromq czmq openssl
+ brew install lcov libffi zeromq czmq openssl cpputest
brew link --force libffi
brew unlink openssl && brew link openssl --force
fi
- wget https://github.com/cpputest/cpputest/releases/download/v3.8/cpputest-3.8.tar.gz -O /tmp/cpputest.tar.gz
- tar -xzvf /tmp/cpputest.tar.gz -C /tmp
- cd /tmp/cpputest-* && ./configure --prefix=/usr/local && make && sudo make install && cd -
- if [[ "${{ matrix.os }}" == "ubuntu"* ]]; then
- wget https://github.com/zeromq/libzmq/releases/download/v4.3.1/zeromq-4.3.1.tar.gz -O /tmp/zeromq.tar.gz
- tar -xzvf /tmp/zeromq.tar.gz -C /tmp && cd /tmp/zeromq-* && mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_CURVE=ON .. && make && sudo make install
- wget https://github.com/zeromq/czmq/releases/download/v4.2.0/czmq-4.2.0.tar.gz -O /tmp/czmq.tar.gz
- tar -xzvf /tmp/czmq.tar.gz -C /tmp && cd /tmp/czmq-* && mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && sudo make install
- fi
- cd /tmp && git clone https://github.com/akheron/jansson.git jansson-build
- cd jansson-build && git checkout 2.7
- cmake -DJANSSON_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local . && make && sudo make install
cd $GITHUB_WORKSPACE
- name: Build
env: