Files
my-rook-config/.github/workflows/build.yml
T
Sébastien Han 5fccaf5e62 Merge pull request #7328 from leseb/ubuntu-18-ci
ceph: stick with ubuntu-18.04 on the CI
2021-03-01 18:44:41 +01:00

23 lines
625 B
YAML

name: Build
on:
pull_request:
# paths-ignore means we run the action when files have changed and no one them are Golang files.
paths-ignore:
- '**.go'
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.15
- name: build rook
run: |
# set VERSION to a dummy value since Jenkins normally sets it for us. Do this to make Helm happy and not fail with "Error: Invalid Semantic Version"
GOPATH=$(go env GOPATH) make clean && make -j$nproc IMAGES='ceph' VERSION=0 build