forked from openscad/openscad
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (43 loc) · 1.21 KB
/
linux.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
name: linux
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-18.04, ubuntu-20.04 ]
include:
- os: ubuntu-18.04
distro: bionic
- os: ubuntu-20.04
distro: focal
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Submodules
run: git submodule update --init --recursive
- name: Install dependencies
run: ./scripts/travis-ci-before-install-linux.sh ${{ matrix.distro }}
- name: Dependency fixup
run: sudo apt-get install qt5-default gettext gcovr
- name: Build and test
run: ./scripts/github-ci.sh build test coverage
- name: Upload Test Result Report
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: Test Result Report (${{ matrix.os }})
path: |
b/tests/Testing/Temporary/*_report.html
b/tests/Testing/Temporary/LastTest.log
- name: Upload Code Coverage Report
uses: actions/upload-artifact@v2
with:
name: Code Coverage Report (${{ matrix.os }})
path: c/coverage*.html