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 d891bdd
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 22 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/
14 changes: 14 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 jq

- 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 scripts/checkpatch.pl --no-tree --strict --codespell --no-signoff -g
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit d891bdd

Please sign in to comment.