forked from scsibug/nostr-rs-relay
-
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.
- Loading branch information
1 parent
cc6b790
commit 0e69076
Showing
1 changed file
with
39 additions
and
0 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,39 @@ | ||
name: docker | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**[0-9]+.[0-9]+.[0-9]+*' | ||
pull_request: | ||
branches: | ||
- '*' | ||
- '*/*' | ||
- '**' | ||
- 'master' | ||
- 'main' | ||
|
||
env: | ||
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1 | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
tag: ["latest", "slim-bullseye"] | ||
runs-on: ${{ matrix.os }} | ||
container: rust:${{ matrix.tag }} | ||
|
||
steps: | ||
- run: apt-get update && apt-get install autoconf build-essential curl cmake jq libexpat1-dev libcurl4-openssl-dev libssl-dev libtool lsb-release git make nodejs npm pkg-config python3 python-is-python3 sudo tcl zlib1g-dev -y | ||
- run: printenv | ||
- run: cargo search nostr --limit 100 | ||
- name: checkout@v3 fetch-depth submodules set-safe-dir true | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
submodules: 'true' | ||
set-safe-directory: 'true' | ||
- run: make | ||
- run: make build |