-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (35 loc) · 1.01 KB
/
build-master.yaml
File metadata and controls
40 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Regarding build steps, this is a copy of the Dockerfile and should be kept in-sync
name: "Build pumptools"
on:
push:
branches:
- master
jobs:
build:
runs-on: "ubuntu-22.04"
steps:
- name: "Checkout repository"
uses: "actions/checkout@v2"
# Building bootstrapped using docker containers
- name: "Install prerequisites"
run: |
sudo apt-get update
sudo apt-get install -y runc containerd docker.io
- name: "Build"
run: |
make build-docker
# Do some unpacking of the dist zip. Artifact upload repackages stuff
- name: "Prepare artifact package"
run: |
mkdir artifact
cd artifact
unzip ../build/docker/pumptools-public.zip
cd ..
- name: "Upload artifact"
uses: "actions/upload-artifact@v2"
with:
name: pumptools-${{ github.sha }}
retention-days: 30
if-no-files-found: "error"
path: |
artifact/**