WHY2/.github/workflows/build.yml

45 lines
923 B
YAML
Raw Normal View History

2022-04-27 19:19:38 +02:00
name: Build WHY2
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
# - 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
- name: Build WHY2
2022-04-27 19:26:15 +02:00
run: ./${{ matrix.build }}
2022-04-27 19:19:38 +02:00
- name: Test
2022-04-29 18:01:54 +02:00
run: ./${{ matrix.output }} skipCheck