Skip to content

Commit

Permalink
actions: remove travis
Browse files Browse the repository at this point in the history
We removed them from the main repo, lets remove them here too.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey committed Sep 21, 2021
1 parent 8960097 commit c4b9751
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 23 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# Basic build test

name: build

# yamllint disable-line rule:truthy
on: [pull_request, push, workflow_dispatch]

jobs:
build-test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with: {fetch-depth: 50, submodules: recursive}

- name: build
run: cmake -B build/
- run: make -Werror -Wall -Wmissing-prototypes -Wimplicit-fallthrough=3
-Wpointer-arith -C build/
19 changes: 18 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# github.com also has a powerful web editor that can be used without
# committing.

name: checkpatch
name: codestyle

# yamllint disable-line rule:truthy
on: [pull_request]
Expand All @@ -23,3 +23,20 @@ jobs:

- name: run yamllint
run: yamllint .github/workflows/*.yml
checkpatch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: install codespell
run: sudo apt update && sudo apt install -y codespell

- name: run codespell
run: curl ${{ github.event.pull_request.commits_url }} | jq '.[].sha'
-r | xargs scripts/checkpatch.pl --ignore UNKNOWN_COMMIT_ID
--codespell --codespellfile
/usr/lib/python3/dist-packages/codespell_lib/data/dictionary.txt
--ignore C99_COMMENT_TOLERANCE --no-tree --strict -g
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit c4b9751

Please sign in to comment.