-
Notifications
You must be signed in to change notification settings - Fork 21
48 lines (48 loc) · 1.36 KB
/
build.yaml
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
41
42
43
44
45
46
47
48
name: Build
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- 'tools/**'
- '.github/dependabot.yml'
push:
paths-ignore:
- '**.md'
- 'docs/**'
- 'tools/**'
- '.github/dependabot.yml'
branches: [develop]
jobs:
build:
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
- run: rustup default 1.61.0
- run: make build
# If we forget to add yamlgen changes to our commits, this will fail.
- name: ensure that git is clean
run: test -z "$(git status --untracked-files=all --porcelain)"
- run: make controller
- run: make duplicator-resource-agent
- run: make example-resource-agent
- run: make example-test-agent
- run: make example-test-agent-cli
- run: make integ-test
env:
TESTSYS_SELFTEST_SKIP_IMAGE_BUILDS: true
TESTSYS_SELFTEST_THREADS: 1
images:
runs-on: [ self-hosted, linux, x64 ]
steps:
- uses: actions/checkout@v3
- run: make images
license-check:
# A small machine is OK for this independent job.
runs-on: ubuntu-latest
# If we already checked the PR, we don't need to check the actual push
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v3
- run: rustup default 1.61.0
- run: make cargo-deny