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 18, 2021
1 parent 9716e10 commit c0343df
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 23 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# 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: install cmake
run: sudo apt update
- run: sudo apt install -y cmake

- name: build
run: cmake -B build/
- run: make -Werror -Wall -Wmissing-prototypes -Wimplicit-fallthrough=3
-Wpointer-arith -C build/
16 changes: 15 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,17 @@ 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 }}

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

- name: run codespell
# run: curl ${{ github.event.pull_request.commits_url }} | jq '.[].sha' -r | cat
run: curl ${{ github.event.pull_request.commits_url }} | jq '.[].sha' -r | xargs -n1 scripts/checkpatch.pl --no-tree --strict --codespell -g
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit c0343df

Please sign in to comment.