diff options
author | Andrew Waterman <andrew@sifive.com> | 2020-09-22 14:50:21 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-09-22 16:51:00 -0700 |
commit | 648e16e7783f1a91d7f65b4b8d38a84d917235d6 (patch) | |
tree | 26647df07bd495393f13e8af0f918b25eb1475e0 /.github | |
parent | 4672cf245cfcea2723ed568f0f0b3baa50711213 (diff) | |
download | riscv-isa-sim-648e16e7783f1a91d7f65b4b8d38a84d917235d6.zip riscv-isa-sim-648e16e7783f1a91d7f65b4b8d38a84d917235d6.tar.gz riscv-isa-sim-648e16e7783f1a91d7f65b4b8d38a84d917235d6.tar.bz2 |
Add basic continuous-integration flow
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 |