Skip to content

Commit bdb8f1b

Browse files
committed
.github/workflows/docker.yml
1 parent cc6b790 commit bdb8f1b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/docker.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: gnostr-docker
2+
3+
on:
4+
push:
5+
tags:
6+
- '**[0-9]+.[0-9]+.[0-9]+*'
7+
pull_request:
8+
branches:
9+
- '*'
10+
- '*/*'
11+
- '**'
12+
- 'master'
13+
- 'main'
14+
15+
env:
16+
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
17+
18+
jobs:
19+
build:
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
os: ["ubuntu-latest"]
24+
tag: ["latest", "slim-bullseye"]
25+
runs-on: ${{ matrix.os }}
26+
container: rust:${{ matrix.tag }}
27+
28+
steps:
29+
- 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
30+
- run: printenv
31+
- run: cargo search nostr --limit 100
32+
- name: checkout@v3 fetch-depth submodules set-safe-dir true
33+
uses: actions/checkout@v3
34+
with:
35+
fetch-depth: '0'
36+
submodules: 'true'
37+
set-safe-directory: 'true'
38+
- run: make
39+
- run: make build

0 commit comments

Comments
 (0)