Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oc_jpegencode_vdt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
oc_jpegencode_vdt
Commits
bc7403da
Commit
bc7403da
authored
Sep 04, 2015
by
Chiggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt a build matrix of synthesis and simulation
parent
9a97040a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
13 deletions
+35
-13
.travis.sh
.travis.sh
+22
-0
.travis.yml
.travis.yml
+13
-13
No files found.
.travis.sh
0 → 100755
View file @
bc7403da
#!/bin/bash
set
-ev
# Synthesis build
if
[
"
${
SYNTHESIS
}
"
=
"true"
]
;
then
wget https://www.dropbox.com/s/xvum1md2deppgre/quartus_14.0.tar.gz?dl
=
0
mv
quartus
*
quartus_14.0.tar.gz
tar
-zxf
quartus_14.0.tar.gz
cd
syn
&&
PATH
=
$PWD
/../altera/14.0/quartus/bin:
$PATH
make &
pid
=
$!
# Often no output so have to force output
while
kill
-0
$pid
>
/dev/null 2>&1
;
do
sleep
5m
;
echo
Build still running, honest
;
done
fi
# Simulation build
if
[
"SIMULATION}"
=
"true"
]
;
then
git clone https://github.com/potentialventures/cocotb.git
export
COCOTB
=
$PWD
/cocotb
cd
tb
&&
make
fi
\ No newline at end of file
.travis.yml
View file @
bc7403da
sudo
:
false
sudo
:
false
language
:
python
env
:
python
:
matrix
:
-
"
2.7"
-
SYNTHESIS=true
before_install
:
-
SIMULATION=true
-
curl checkip.dyndns.org
addons
:
-
wget https://www.dropbox.com/s/xvum1md2deppgre/quartus_14.0.tar.gz?dl=0
apt
:
-
mv quartus* quartus_14.0.tar.gz
packages
:
-
tar -zxf quartus_14.0.tar.gz
-
python-imaging
-
iverilog
install
:
-
pip install coverage
-
pip install coveralls
script
:
script
:
-
cd syn && PATH=$PWD/../altera/14.0/quartus/bin:$PATH make &
-
./.travis.sh
-
pid=$!
-
echo $pid
-
while kill -0 $pid >/dev/null 2>&1; do sleep 1m; echo Build still running, honest; done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment