diff --git a/.github/workflows/why2-test.yml b/.github/workflows/why2-test.yml index 935f70f..4571c77 100644 --- a/.github/workflows/why2-test.yml +++ b/.github/workflows/why2-test.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - test-why2: + test-why2-script: runs-on: ${{ matrix.os }} strategy: @@ -51,5 +51,47 @@ jobs: - name: Test Lib run: ./${{ matrix.output }} + - name: Test App + run: ${{ matrix.app }} + + test-why2-makefile: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ ubuntu-latest ] + include: + - os: ubuntu-latest + output: out/why2-test + configure: configure.sh + app: why2 + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + ref: development + + - if: matrix.os == 'ubuntu-latest' + name: Update packages + run: | + sudo apt update + sudo apt upgrade + + - name: Permissions + run: chmod +x ${{ matrix.configure }} + + - name: Praparating + run: sudo ./${{ matrix.configure }} + + - name: Install WHY2 + run: sudo make install + + - name: Build WHY2 Test + run: make test + + - name: Test Lib + run: ./${{ matrix.output }} + - name: Test App run: ${{ matrix.app }} \ No newline at end of file