-
Notifications
You must be signed in to change notification settings - Fork 7
54 lines (42 loc) · 1.16 KB
/
ci.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
49
50
51
52
53
name: Infra CI
on:
pull_request:
paths-ignore:
- '.github/actions/**'
- '.github/workflows/build*'
jobs:
test-build:
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Test mill scalafix rules
run: cd project-builder/mill/scalafix && sbt test
- name: Start minikube
run: minikube start
- name: Build up base docker images
env:
BUILD_ONLY_DEFAULT_JDK: true
run: |
eval $(minikube -p minikube docker-env)
scripts/build-all.sh test
- name: Test build
run: scripts/test-build.sh
test-cli:
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
- uses: coursier/setup-action@v1
with:
apps: scala sbt mill:0.11.5 scala-cli:1.0.4
- name: Start minikube
run: minikube start
- name: Build up base docker images
env:
BUILD_ONLY_DEFAULT_JDK: true
run: |
eval $(minikube -p minikube docker-env)
scripts/build-all.sh test
- name: Test CLI
run: scripts/test-cli.sh