Skip to content

Commit

Permalink
Create Zero_Linux_CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoForge committed Oct 27, 2020
1 parent 1db99c8 commit 24af88f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/Zero_Linux_CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Zero Linux CI

on:
pull_request:
branches: [master]
push:
branches: [master]
schedule:
- cron: '0 19 * * *'

jobs:

linux-build:
name: Linux Build
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Install deps (Linux)

env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update # prevents repo404 errors on apt-remove below
sudo apt-get install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python python-zmq \
zlib1g-dev wget bsdmainutils automake cmake curl
./zcutil/fetch-params.sh
- name: Build (Linux)
run: |
./zcutil/build.sh -j$(nproc)
tar -czvf zero-linux.tar.gz src/zerod src/zero-cli
- name: Upload zero-linux.tar.gz as artifact
uses: actions/upload-artifact@v1
with:
name: zero-linux
path: ./zero-linux.tar.gz

0 comments on commit 24af88f

Please sign in to comment.