forked from gvsoc/gvsoc
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.55 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: check_build_works
on: [push, pull_request]
jobs:
build_ubuntu:
name: Try build on ubuntu latest
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install system software requirements
run: |
sudo apt update
sudo apt-get install -y build-essential git doxygen python3-pip libsdl2-dev curl cmake gtkwave libsndfile1-dev rsync autoconf automake texinfo libtool pkg-config libsdl2-ttf-dev
- name: Install python requirements
run: |
pwd
ls -la
sudo pip3 install -r core/requirements.txt
sudo pip3 install -r gapy/requirements.txt
- name: build all targets
run:
make all TARGETS=pulp-open
- name: Run examples
run: |
./install/bin/gvsoc --target=pulp-open --binary examples/pulp-open/hello image flash run
# Removed due to no space left on eth machine
# build_eth:
# name: Try to build on ETH internal servers
# runs-on: ubuntu-latest
# steps:
# - name: Mirror and check
# uses: pulp-platform/pulp-actions/gitlab-ci@v2
# # Skip on forks or pull requests from forks due to missing secrets.
# if: github.repository == 'gvsoc/gvsoc' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
# with:
# domain: iis-git.ee.ethz.ch
# repo: github-mirror/gvsoc
# token: ${{ secrets.GITLAB_TOKEN }}