From 57b9bf828830e3ea97da611456b370a92673d346 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 2 Jan 2022 14:55:33 +0100 Subject: [PATCH 1/3] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..89aa5dd --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + build-dstargateway: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "make" + command: "make" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + dstar-gateway-workflow: + jobs: + - build-dstargateway From 9e7705b9403fbeae03209548d5ee94b3b43f31b6 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 2 Jan 2022 17:00:49 +0100 Subject: [PATCH 2/3] Updated config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89aa5dd..5569809 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,10 @@ jobs: steps: - checkout - run: - name: "make" + name: Install dependencies + command: sudo apt-get install libcurl4-openssl-dev libboost-dev + - run: + name: "Build" command: "make" # Invoke jobs via workflows From fc6ae1ba547be22c0ebea1e43122c4bf61694f1f Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 2 Jan 2022 17:04:08 +0100 Subject: [PATCH 3/3] Updated config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5569809..7f005cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,9 @@ jobs: - checkout - run: name: Install dependencies - command: sudo apt-get install libcurl4-openssl-dev libboost-dev + command: | + sudo apt-get update + sudo apt-get install libcurl4-openssl-dev libboost-dev - run: name: "Build" command: "make"