-
Notifications
You must be signed in to change notification settings - Fork 9
46 lines (43 loc) · 1.43 KB
/
riscv64_docker.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
46
# ref: https://github.com/docker-library/official-images
name: riscv64 Docker
on: [push, pull_request, workflow_dispatch]
jobs:
docker:
strategy:
matrix:
distro: [
# almalinux,
alpine,
debian, # currently only unstable not latest
# fedora,
# opensuse,
# rockylinux,
#ubuntu,
]
fail-fast: false
name: riscv64 • ${{ matrix.distro }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Check docker
run: |
docker info
docker buildx ls
- name: Build env image
run: make --directory=ci riscv64_${{ matrix.distro }}_env
- name: Build devel project
run: make --directory=ci riscv64_${{ matrix.distro }}_devel
- name: Build project
run: make --directory=ci riscv64_${{ matrix.distro }}_build
- name: Test project
run: make --directory=ci riscv64_${{ matrix.distro }}_test
- name: Build install env image
run: make --directory=ci riscv64_${{ matrix.distro }}_install_env
- name: Build install devel project
run: make --directory=ci riscv64_${{ matrix.distro }}_install_devel
- name: Build install project
run: make --directory=ci riscv64_${{ matrix.distro }}_install_build
- name: Test install project
run: make --directory=ci riscv64_${{ matrix.distro }}_install_test