-
Notifications
You must be signed in to change notification settings - Fork 41
45 lines (39 loc) · 1.37 KB
/
docker-build.yml
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
# Copyright 2021, Proofcraft Pt Ltd
#
# SPDX-License-Identifier: BSD-2-Clause
# Build standard set of docker containers
name: Build
on: [pull_request]
jobs:
build-amd64:
name: Docker images (AMD64)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./build.sh -v -b sel4
# the following will also build the plain camkes image:
- run: ./build.sh -v -b camkes -s cakeml -s rust
build-arm64:
name: Docker images (ARM64)
runs-on: [self-hosted, macos, ARM64]
steps:
- name: "Unlock MacOS Keychain"
run: security unlock-keychain -p ${{secrets.M2_MINI_PWD}}
- uses: actions/checkout@v4
# don't use cached images on the self-hosted runner to make sure we are
# picking up current Debian repo state. The GitHub runners start from
# scratch, so don't need it.
- run: ./build.sh -rv -b sel4
# the following will also build the plain camkes image:
- run: ./build.sh -rv -b camkes -s cakeml -s rust
# This needs to rebuild the seL4 and camkes images (apart from cakeml/rust),
# but putting l4v in the same job as the large camkes-cakeml-rust image
# overflows the disk space of the GitHub runner.
build-l4v:
name: Docker images (l4v)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./build.sh -v -b sel4
- run: ./build.sh -v -b camkes
- run: ./build.sh -v -b l4v