aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAhmed Castro <[email protected]>2021-02-09 14:57:30 +0900
committerPatrick Lodder <[email protected]>2021-06-19 17:14:30 +0200
commit07867727d36647fda4ffe1650d0e37dc2f2f4b5d (patch)
treec9d541dd9c8b1233fa16526f51e8607bd14744d5 /.github
parentMerge pull request #2296 from gabgosrob/french_translation (diff)
downloaddiscoin-07867727d36647fda4ffe1650d0e37dc2f2f4b5d.tar.xz
discoin-07867727d36647fda4ffe1650d0e37dc2f2f4b5d.zip
Create ci.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 000000000..99919edb5
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,40 @@
+name: ci
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ name: ${{ matrix.name }}
+
+ strategy:
+ fail-fast: true
+ matrix:
+ name:
+ - Ubuntu 18.04 GCC
+ include:
+ - name: Ubuntu 18.04 GCC
+ os: ubuntu-18.04
+ compiler: gcc
+ cpp-compiler: g++
+ build-dir: build
+ build-src-dir: ..
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+ - name: Install packages (Ubuntu)
+ if: runner.os == 'Linux'
+ run: |
+ sudo apt-get update
+ sudo apt-get install libdb++-dev libboost-all-dev libevent-dev ${{ matrix.packages }}
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Generate project files
+ run: |
+ ./autogen.sh
+ ./configure --disable-wallet
+
+ - name: Compile source code
+ run: |
+ make -j2