Build libsecp256k1 for mac #2
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: Build libsecp256k1 for mac | |
on: | |
workflow_dispatch: | |
jobs: | |
build-mac: | |
name: 'Build Mac' | |
runs-on: macos-latest | |
steps: | |
- name: check arch | |
run: uname -a | |
- name: Reconfigure git to use HTTP authentication | |
run: > | |
git config --global url."https://github.com/".insteadOf | |
ssh://[email protected]/ | |
- name: Checkout flathub repository. | |
run: git clone https://github.com/bitcoin-core/secp256k1.git | |
- name: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure | |
- name: build with cmake | |
run: make | |
- name: run the test suite | |
run: make check |