Why Nostr? What is Njump?
2024-07-03 00:55:04

npub18f…v5d0u on Nostr: commit 06e2ef61b62a3c6a94a8c5d14c340e575f7b6bf8 Author: randymcmillan ...

commit 06e2ef61b62a3c6a94a8c5d14c340e575f7b6bf8
Author: randymcmillan <[email protected]>
Date: Thu Sep 14 16:23:36 2023 -0400

make:gnostr-act-alpine:basic config

diff --git a/.github/workflows/gnostr-alpine.yml b/.github/workflows/gnostr-alpine.yml
new file mode 100755
index 000000000..90cf4defc
--- /dev/null
+++ b/.github/workflows/gnostr-alpine.yml
@@ -0,0 +1,53 @@
+name: gnostr-alpine
+
+on:
+ pull_request:
+ branches:
+ - '*'
+ - '*/*'
+ - '**'
+ - 'master'
+ - 'main'
+ push:
+ branches:
+ - '*'
+ - '*/*'
+ - '**'
+ - 'master'
+ - 'main'
+
+env:
+ GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
+
+jobs:
+ build:
+ runs-on: ubuntu-20.04
+
+ strategy:
+ fail-fast: false
+ matrix:
+ tag: [18.17.1]
+
+ container: node:${{ matrix.tag }}-alpine
+
+ steps:
+ ## notice: this is a pre checkout step
+ ## notice: additional operations can be done prior to checkout
+ - run: apk update && apk add bash cmake git python3 && python3 -m ensurepip
+ - run: printenv
+ - name: checkout@v3 fetch-depth submodules set-safe-dir true
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: '10'
+ submodules: 'true'
+ set-safe-directory: 'true'
+ ## notice: these are post checkout steps
+ - run: apk update && apk add autoconf automake build-base openssl-dev libtool make
+ - run: touch ~/GITHUB_TOKEN.txt
+ - run: rm CMakeCache.txt || echo && cmake .
+ - run: make
+ - run: make help
+ - run: make libsecp256k1.a || rm -rf deps/secp256k1 && make libsecp256k1.a
+ - run: make gnostr || rm gnostr && make gnostr
+ ## TODO: add ssh config to act sequence
+ - run: make tag 2>/dev/null
diff --git a/gnostr-act.mk b/gnostr-act.mk
index 72fe45734..fc14a5fc9 100644
--- a/gnostr-act.mk
+++ b/gnostr-act.mk
@@ -4,4 +4,8 @@ gnostr-act-install:## install gnostr-act from deps/gnostr-act/install.sh -b
gnostr-act-gnostr:submodules docker-start## run gnostr-act in .github
#we use -b to bind the repo to the gnostr-act container
#in the single dep instances we reuse (-r) the container
- @type -P gnostr-act && GITHUB_TOKEN=$(shell cat ~/GITHUB_TOKEN.txt) && gnostr-act $(VERBOSE) $(BIND) $(REUSE) -W $(PWD)/.github/workflows/[email protected] || $(MAKE) gnostr-act-install
+ @type -P gnostr-act && GITHUB_TOKEN=$(shell cat ~/GITHUB_TOKEN.txt) && gnostr-act $(VERBOSE) $(BIND) $(REUSE) -W $(PWD)/.github/workflows/gnostr.yml || $(MAKE) gnostr-act-install
+gnostr-act-alpine:submodules docker-start## run gnostr-act in .github
+ #we use -b to bind the repo to the gnostr-act container
+ #in the single dep instances we reuse (-r) the container
+ @type -P gnostr-act && GITHUB_TOKEN=$(shell cat ~/GITHUB_TOKEN.txt) && gnostr-act $(VERBOSE) $(BIND) $(REUSE) -W $(PWD)/.github/workflows/gnostr-alpine.yml || $(MAKE) gnostr-act-install
Author Public Key
npub18fx0gra8qkh609nup4k2g30lrvvtwlnl8pjvys9xqgkcedrhyw4qlv5d0u