Add basic github CI
Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
This commit is contained in:
parent
930f8e5314
commit
cc3e805f00
|
@ -0,0 +1,22 @@
|
||||||
|
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
|
# Actions to run on pull requests
|
||||||
|
|
||||||
|
name: PR
|
||||||
|
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gitlint:
|
||||||
|
name: Gitlint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: seL4/ci-actions/gitlint@master
|
||||||
|
|
||||||
|
whitespace:
|
||||||
|
name: 'Trailing Whitespace'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: seL4/ci-actions/git-diff-check@master
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
|
# Actions to run on Push and Pull Request
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: License Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: seL4/ci-actions/license-check@master
|
||||||
|
|
||||||
|
links:
|
||||||
|
name: Links
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: seL4/ci-actions/link-check@master
|
||||||
|
with:
|
||||||
|
exclude: js/node_modules
|
||||||
|
|
||||||
|
style:
|
||||||
|
name: Style
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: seL4/ci-actions/style@master
|
Loading…
Reference in New Issue