forked from RandyMcMillan/legit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from gnostr-org/1704597816/18a66cd2/00000a2a0
v0.0.6
- Loading branch information
Showing
6 changed files
with
796 additions
and
64 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: gnostr-docker | ||
|
||
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: ["latest", "slim-bullseye", "slim-bookworm"] | ||
|
||
container: rust:${{ matrix.tag }} | ||
|
||
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: apt-get update && apt-get install build-essential libexpat1-dev libcurl4-openssl-dev libssl-dev git make pkg-config python3 python-is-python3 sudo tcl zlib1g-dev -y | ||
- run: printenv | ||
- name: checkout@v3 fetch-depth submodules set-safe-dir true | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '100' | ||
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: git config --global --add safe.directory /__w/gnostr/gnostr || true | ||
- run: make cargo-b-release cargo-i |
Oops, something went wrong.