diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-09-25 22:13:56 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-10-30 15:23:42 -0400 |
commit | 7ad36a21644a1eadfc449a56f4756b9c1fa56f88 (patch) | |
tree | a4ad896ab5771436c418510a42dc5fbaeccfc18c /.github | |
parent | 21ba8a9d7a7a4721a77f741b4e75a7806b0d67e1 (diff) | |
download | kutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.tar.gz kutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.tar.xz kutter-7ad36a21644a1eadfc449a56f4756b9c1fa56f88.zip |
github: Run continuous integration tests using "github actions"
Use "github actions" instead of "travis ci" for the automatic build
regression tests.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-test.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml new file mode 100644 index 00000000..916741c9 --- /dev/null +++ b/.github/workflows/build-test.yaml @@ -0,0 +1,30 @@ +# Perform continuous integration tests on updates and pull requests +name: Build test +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + + - name: Install system dependencies + run: sudo apt-get install gcc-avr avr-libc pv libmpfr-dev libgmp-dev libmpc-dev texinfo libncurses5-dev bison flex python-virtualenv virtualenv python-dev libffi-dev build-essential + + - name: Setup cache + uses: actions/cache@v2 + with: + path: travis_cache + key: ${{ runner.os }}-build-${{ hashFiles('scripts/travis-install.sh') }} + + - name: Prepare tests + run: ./scripts/travis-install.sh + + - name: Test + run: ./scripts/travis-build.sh 2>&1 + + - name: Upload micro-controller data dictionaries + uses: actions/upload-artifact@v2 + with: + name: data-dict + path: travis_build/dict |