Skip to content

Commit f3c2865

Browse files
committed
WIP - Github actions
1 parent e228539 commit f3c2865

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: GitHub Actions Demo
2+
on: [push]
3+
jobs:
4+
Explore-GitHub-Actions:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
8+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
9+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
10+
- name: Check out repository code
11+
uses: actions/checkout@v2
12+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
13+
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
14+
- name: List files in the repository
15+
run: |
16+
ls ${{ github.workspace }}
17+
- run: echo "🍏 This job's status is ${{ job.status }}."
18+
19+
#on:
20+
# # Trigger the workflow on push or pull request,
21+
# # but only for the main branch
22+
# push:
23+
# branches:
24+
# - master
25+
# pull_request:
26+
# branches:
27+
# - master
28+
# # Also trigger on page_build, as well as release created events
29+
# page_build:
30+
# release:
31+
# types: # This configuration does not affect the page_build event above
32+
# - created
33+
#
34+
#env:
35+
# SECP256K1_REMOTE: "https://github.com/bitcoin-core/secp256k1.git"
36+
# SECP256K1_COMMIT: efad3506a8937162e8010f5839fdf3771dfcf516
37+
# SECP256K1_CONFIGURE: "--enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys"
38+
# EXT_SECP256K1_CONFIGURE: "--with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys"
39+
#
40+
#jobs:
41+
# test:
42+
# runs-on: ubuntu-latest
43+
# steps:
44+
# - name: Checkout code
45+
# uses: actions/checkout@v2
46+
# - run: ./gradlew check --info
47+
# - run: git clone https://github.com/bitcoin-core/secp256k1.git libsecp256k1
48+
# - run: cd libsecp256k1 && git checkout efad3506a8937162e8010f5839fdf3771dfcf516 \
49+
# && ./autogen.sh \
50+
# && ./configure --enable-tests=no --enable-benchmark=no \
51+
# --enable-experimental --enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig --enable-module-extrakeys \
52+
# && make -j$(nproc) && sudo make install && cd ..
53+
# - run: cd secp256k1 && phpize \
54+
# && ./configure --with-secp256k1-config --with-module-recovery --with-module-ecdh --with-module-schnorrsig --with-module-extrakeys \
55+
# && make -j$(nproc) && sudo make install \
56+
# && cd ..
57+
# - run: composer update
58+
# - run: travis/verify_stubs.sh
59+
# - run: cd secp256k1/ && REPORT_EXIT_STATUS=1 make test || (find tests/*.log -type f -exec cat {} + ; exit 1) && cd ..
60+
# - run: travis/run_coverage_test.sh
61+
# - run: travis/run_valgrind_test.sh
62+
# - run: travis/validate_examples.sh

0 commit comments

Comments
 (0)