-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 948 Bytes
/
ci.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
name: Continuous integration checks
on:
pull_request:
branches: [ "main" ]
max-concurrency: 3
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
max-concurrency: 3
jobs:
build-run-tests:
name: Builds and runs tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build and test in containers
id: build-test-in-containers
run: |
cd $GITHUB_WORKSPACE/build-automation && ALUS_ENABLE_TESTS=ON ./build_in_containers.sh $GITHUB_WORKSPACE /tmp/ cgialus/alus-ootpa-devel:latest cgialus/alus-devel:latest
- name: Test report generation
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test report
path: '/tmp/alus-ootpa-devel/unit-test/results/*.xml,/tmp/alus-devel/unit-test/results/*.xml'
reporter: java-junit