diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/apt-packages.txt | 2 | ||||
-rw-r--r-- | .github/workflows/continuous-integration.yml | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/apt-packages.txt b/.github/workflows/apt-packages.txt new file mode 100644 index 0000000..e153391 --- /dev/null +++ b/.github/workflows/apt-packages.txt @@ -0,0 +1,2 @@ +build-essential +device-tree-compiler diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..aeaf460 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,28 @@ +# This file describes the GitHub Actions workflow for continuous integration of Spike. +# +# See +# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions +# for API reference documentation on this file format. + +name: Continuous Integration + +on: + push: + branches: + - master + pull_request: + branches: + - master + + +jobs: + test: + name: Test Spike build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + + - name: Install Dependencies + run: sudo xargs apt-get install -y < .github/workflows/apt-packages.txt + + - run: ci-tests/test-spike |