[github] Simplify script and fix issue (#90) #3
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
###################################################### | |
# PROJECT : MALT # | |
# VERSION : 1.2.2 # | |
# DATE : 06/2023 # | |
# AUTHOR : Sebastien Valat # | |
# LICENSE : Apache 2.0 # | |
###################################################### | |
name: Malt | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-project: | |
name: Build & test MALT | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Install dependencies | |
run: sudo apt-get install -y libunwind-dev nodejs cmake | |
- name: Build Project | |
run: | | |
mkdir build | |
cd build | |
../configure --enable-tests --enable-debug --enable-junit-output | |
make | |
- name: Test Project | |
run: | | |
ctest | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v4 | |
if: failure() |