3 changed files with 41 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||
build-essential |
|||
device-tree-compiler |
|||
@ -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 |
|||
@ -0,0 +1,11 @@ |
|||
#!/bin/bash |
|||
set -e |
|||
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
|||
|
|||
mkdir build |
|||
cd build |
|||
mkdir install |
|||
$DIR/../configure --prefix=`pwd`/install |
|||
make -j4 |
|||
make install |
|||
Loading…
Reference in new issue