-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (38 loc) · 1.04 KB
/
test_and_build.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
name: CI - Test&Build
on:
push:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # keeps GitHub from removing runner due to inactivity
jobs:
test:
runs-on: LV20x64
steps:
- uses: actions/checkout@v4
- name: Run Unit Tests
shell: bash
run: ./_run_unittests.sh
- name: Build Package
shell: bash
run: ./_build.sh $GITHUB_RUN_NUMBER
- name: Install
shell: bash
run: ./_install.sh
- name: Create Install Tests
shell: bash
run: ./_create_install_tests.sh
- name: Rerun Tests on Installed Libraries
shell: bash
run: ./_run_install_tests.sh
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: 'reports/*.xml'
- name: Grab Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: |
build/*.vip
reports