Browse Source

refactor for github actions (#77)

* refactor for github actions

* .
master
Ofek Lev 3 years ago
committed by GitHub
parent
commit
3f07a68255
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/scripts/install-system-deps.sh
  2. 2
      .github/workflows/main.yml
  3. 4
      README.rst

4
.github/scripts/install-system-deps.sh

@ -6,13 +6,13 @@ set -x
if [[ "$OS_NAME" =~ "macos-" ]]; then
# update brew
brew update || brew update
brew update
# Update openssl if necessary
brew outdated openssl || brew upgrade openssl
# Install packages needed to build lib-secp256k1
for pkg in automake libtool pkg-config libffi; do
for pkg in automake libtool pkg-config; do
brew list $pkg > /dev/null || brew install $pkg
brew outdated --quiet $pkg || brew upgrade $pkg
done

2
.github/workflows/ci.yml → .github/workflows/main.yml

@ -1,4 +1,4 @@
name: CI
name: main
on:
push:

4
README.rst

@ -1,8 +1,8 @@
Coincurve
=========
.. image:: https://github.com/ofek/coincurve/actions?workflow=CI
:target: https://github.com/ofek/coincurve/workflows/CI/badge.svg
.. image:: https://github.com/ofek/coincurve/actions?query=workflow%3Amain
:target: https://github.com/ofek/coincurve/workflows/main/badge.svg
:alt: GitHub Actions CI
.. image:: https://codecov.io/github/ofek/coincurve/coverage.svg?branch=master

Loading…
Cancel
Save