CI - Test&Build #375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |