Add 3 way instriction for aarch64 #13
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
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 gh 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_amd64.tar.xz termux-miner-v3.0.0 | |
- name: run_tmate_cmd | |
run: tmate -F |