WHY2/.github/workflows/why2-test.yml

48 lines
1010 B
YAML
Raw Normal View History

name: Test WHY2
2022-04-27 19:19:38 +02:00
on:
push:
branches: [ development ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
output: out/why2
configure: configure.sh
build: build.sh
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: development
2022-04-30 17:01:55 +02:00
- if: matrix.os == 'ubuntu-latest'
name: Update packages
run: |
sudo apt update
sudo apt upgrade
2022-04-27 19:19:38 +02:00
- name: Permissions
run: |
chmod +x ${{ matrix.configure }}
chmod +x ${{ matrix.build }}
- name: Praparating
2022-04-27 19:29:17 +02:00
run: sudo ./${{ matrix.configure }}
2022-04-27 19:19:38 +02:00
2022-05-01 16:27:10 +02:00
- name: Install WHY2
run: sudo ./${{ matrix.build }} install
- name: Build WHY2 (Test)
run: ./${{ matrix.build }} test
2022-04-27 19:19:38 +02:00
- name: Test
run: ./${{ matrix.output }} skipCheck