-
Notifications
You must be signed in to change notification settings - Fork 1
94 lines (89 loc) · 3.43 KB
/
lin64-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
name: Linux Build, Release and AppImage
on:
workflow_dispatch:
inputs:
releaseName:
description: "What to name the release"
required: false
tag:
description: "What to tag the release with"
required: false
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Create ./debianbuild
run: mkdir ./debianbuild
- name: Add the bitcoin repo for berkeleydb
run: |
sudo add-apt-repository ppa:bitcoin/bitcoin
- name: update the apt repos
run: sudo apt-get update -y
- name: install dependencies
run: |
sudo apt-get install libtool libboost-all-dev -y
sudo apt-get install libevent-dev -y
sudo apt-get install tree
sudo apt-get install qtdeclarative5-dev qtbase5-dev qttools5-dev qtdeclarative5-dev qt5-default libzmq3-dev libminiupnpc-dev software-properties-common libssl-dev qtdeclarative5-dev qtbase5-dev qttools5-dev qtdeclarative5-dev qt5-default libzmq3-dev libminiupnpc-dev software-properties-common libssl-dev libevent-dev libdb4.8-dev libdb4.8++-dev libevent-dev libdb4.8-dev libdb4.8++-dev -y
- name: autoconfig
run: ./autogen.sh
- name: configure
run: ./configure --prefix="${PWD}"/debianbuild
- name: make
run: make
- name: make install to ./debianbuild
run: make install
- name: Set up a workfolder for the debian package
run: |
mkdir ./debianbuild/DEBIAN
cp ./debianControlFile ./debianbuild/DEBIAN/control
- name: build a .deb
run: |
dpkg-deb --build --root-owner-group ./debianbuild
mv ./debianbuild.deb ./Hallacoin.deb
- name: debugtree
run: tree .
- uses: actions/upload-artifact@v2
with:
name: Hallacoin_deb
path: ./Hallacoin.deb
# build-appimage:
#
# runs-on: ubuntu-18.04
#
# steps:
# - uses: actions/checkout@v2
# - name: Add the bitcoin repo for berkeleydb
# run: |
# sudo add-apt-repository ppa:bitcoin/bitcoin
# - name: update the apt repos
# run: sudo apt-get update -y
# - name: install dependencies
# run: |
# sudo apt-get install libtool libboost-all-dev -y
# sudo apt-get install libevent-dev -y
# sudo apt-get install qtdeclarative5-dev qtbase5-dev qttools5-dev qtdeclarative5-dev qt5-default libzmq3-dev libminiupnpc-dev software-properties-common libssl-dev qtdeclarative5-dev qtbase5-dev qttools5-dev qtdeclarative5-dev qt5-default libzmq3-dev libminiupnpc-dev software-properties-common libssl-dev libevent-dev libdb4.8-dev libdb4.8++-dev libevent-dev libdb4.8-dev libdb4.8++-dev -y
# - name: autoconfig
# run: ./autogen.sh
# - name: configure
# run: ./configure
# - name: build
# run: make
# - name: Build AppImage
# uses: AppImageCrafters/build-appimage-action@master
# env:
# UPDATE_INFO: gh-releases-zsync|hallabois|hallacoin|latest|*x86_64.AppImage.zsync
# with:
# recipe: AppImageBuilder.yml
# - uses: actions/upload-artifact@v2
# with:
# name: AppImage
# - name: Release
# uses: "marvinpinto/action-automatic-releases@latest"
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
# automatic_release_tag: "${{ github.event.inputs.tag }}"
# prerelease: true
# title: "${{ github.event.inputs.releaseName }}"
# files: "*.AppImage"