forked from tearodactyl/z18
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1db99c8
commit 24af88f
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |