Skip to content

Commit

Permalink
Create build-manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wong-fi-hung authored Jan 29, 2024
1 parent c459307 commit b5b3bbd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: C/C++ CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: update
run: sudo apt update
- name: upgrade
run: sudo apt upgrade -y
- name: clean
run: sudo apt clean
- name: install_dependencies
run: sudo apt install git wget nano tmate build-essential make m4 libcurl4-openssl-dev libjansson-dev automake autoconf libtool autotools-dev cmake zlib1g-dev openssl libssl-dev -y
- name: clone_gitsource
run: cd && git clone https://github.com/wong-fi-hung/termux-miner && cd termux-miner
- name: generate_configure_script
run: autoreconf -i
- name: configuring
run: ./configure --with-crypto --with-curl
- name: Make
run: make -j4
- name: strip
run: strip -s cpuminer
- name: mktargz
run: mkdir termux-miner-v3.0.0; cp cpuminer cpuminer-conf.json termux-miner-v3.0.0; tar -Jcvf termux-miner-v3.0.0.tar.xz termux-miner-v3.0.0

0 comments on commit b5b3bbd

Please sign in to comment.