forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (40 loc) · 1.18 KB
/
powerpc-ppctests.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
47
48
49
name: powerpc/ppctests
# Controls when the action will run.
on:
# This allows the build to be triggered manually via the github UI.
workflow_dispatch:
push:
# This triggers the build on a push to any branch
branches:
- '**'
# As long as one of these paths matches
paths:
# Generic selftests changes might affect us so match all of selftests
- 'tools/testing/selftests/**'
# Some files in arch are symlinked by selftests
- 'arch/powerpc/**'
jobs:
ppctests:
runs-on: ubuntu-latest
strategy:
matrix:
image: [ubuntu-21.04, ubuntu-20.04, ubuntu-18.04, ubuntu-16.04]
subarch: [ppc64, ppc64le]
env:
ARCH: powerpc
TARGET: ppctests
INSTALL: 1
SUBARCH: ${{ matrix.subarch }}
IMAGE: ${{ matrix.image }}
steps:
- uses: actions/checkout@v2
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: build
run: ./arch/powerpc/tools/ci-build.sh
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.subarch }}-${{ matrix.image }}
path: |
~/output/install