blob: ca346f0881b5dde969e7b8d2a64af86b7443b641 [file] [log] [blame]
name: CI
on:
create:
tags:
push:
branches:
- master
pull_request:
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: actions/checkout@v1
with:
submodules: true
- name: pip install
run: pip install flake8==3.7.8
- run: flake8
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: actions/checkout@v1
with:
submodules: true
- name: install dependencies
run: sudo apt-get --quiet install ninja-build devscripts
- name: build.py
run: ./src/build.py --sync-include=cmake,wabt --build-include=wabt,debian --no-test --no-host-clang --no-sysroot
- name: build.py with sysroot
run: ./src/build.py --sync-include=sysroot,cmake,binaryen --build-include=binaryen --no-test --no-host-clang