diff --git a/.github/build.yml b/.github/build.yml new file mode 100644 index 0000000..8b15e0c --- /dev/null +++ b/.github/build.yml @@ -0,0 +1,27 @@ +name: Build on push/PR + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.11.x + + - name: Build + run: make build-arm diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7236956..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: go - -go: - - "1.11.x" - -go_import_path: 3mdeb/RteCtrl - -# Only clone the most recent commit -git: - depth: 1 - -# Don't email the results of the test runs -notifications: - email: false - -script: - - make build-arm diff --git a/README.md b/README.md index 0640e97..e93dd49 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ RTE controller ============== -[![Build Status](https://travis-ci.com/3mdeb/RteCtrl.svg?branch=master)](https://travis-ci.com/3mdeb/RteCtrl) - ## General architecture ```