-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (44 loc) · 1.28 KB
/
powerpc-perf.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
50
51
52
53
name: powerpc/perf
# 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:
# Only build if perf or other pieces it uses have been modified
- 'tools/perf/**'
- 'tools/arch/**'
- 'tools/build/**'
- 'tools/include/**'
- 'tools/lib/**'
- 'tools/scripts/**'
jobs:
perf:
runs-on: ubuntu-latest
strategy:
matrix:
image: [ubuntu-21.10, ubuntu-21.04, ubuntu-20.04, ubuntu-18.04, ubuntu-16.04]
subarch: [ppc64, ppc64le]
env:
ARCH: powerpc
TARGET: perf
SUBARCH: ${{ matrix.subarch }}
IMAGE: ${{ matrix.image }}
steps:
- uses: actions/checkout@v2
- name: Register problem matchers
run: |
echo "::add-matcher::.github/problem-matchers/compiler-source.json"
echo "::add-matcher::.github/problem-matchers/compiler-non-source.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