-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 881 Bytes
/
ci.yml
File metadata and controls
45 lines (39 loc) · 881 Bytes
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
name: Build
on:
push:
paths:
- 'debian/**'
- 'Makefile'
jobs:
build:
runs-on: ubuntu-latest
container:
image: lukaszkostka/debian_binutils:${{ matrix.distro }}
env:
VERSION: ${{ matrix.version }}
DH_VERBOSE: 0
strategy:
matrix:
version:
- 2.34
distro:
- stretch
- buster
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Restore cache
uses: actions/cache@v1
with:
path: src
key: binutils-source-${{ matrix.version }}
- name: Build package
run: make deb
- name: Move artifacts
run: make artifacts
if: success()
- uses: actions/upload-artifact@v1
with:
name: binutils-avr-${{ matrix.distro }}
path: artifacts
if: success()