IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vasg
Packages
Commits
3b4bb02f
Commit
3b4bb02f
authored
Sep 30, 2020
by
Lars Asplund
Committed by
Joshua Gay
Sep 30, 2020
Browse files
Update .gitlab-ci.yml to make the CI work
parent
16a01232
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3b4bb02f
image
:
debian:testing
image
:
ghdl/vunit:gcc-master
run_tests
:
script
:
python3 ./testbench/run.py
## OLD CI script below
#image: debian:testing
#service:
# - python:latest
build
:
stage
:
build
before_script
:
-
apt-get update
-
apt-get install -y git make colormake
-
apt-get install -y gcc-7 gnat-7 gcc gnat
-
apt-get install -y llvm-4.0 llvm-4.0-dev llvm-4.0-tools llvm
-
apt-get install -y clang-4.0 clang
-
apt-get install -y zlib1g-dev libedit-dev
-
apt-get install -y python3 python3-pip
#
#
build:
#
stage: build
#
before_script:
#
- apt-get update
#
- apt-get install -y git make colormake
#
- apt-get install -y gcc-7 gnat-7 gcc gnat
#
- apt-get install -y llvm-4.0 llvm-4.0-dev llvm-4.0-tools llvm
#
- apt-get install -y clang-4.0 clang
#
- apt-get install -y zlib1g-dev libedit-dev
#
- apt-get install -y python3 python3-pip
# - ./tools/GitLab-CI/grc.setup.sh
-
./tools/GitLab-CI/ghdl.setup.sh
-
pip3 install -r ./tools/GitLab-CI/requirements.txt
script
:
-
echo "build"
-
export PATH=$PATH:./ghdl/bin
-
export VUNIT_SIMULATOR=ghdl
-
python3 ./testbench/run.py -k
#
- ./tools/GitLab-CI/ghdl.setup.sh
#
- pip3 install -r ./tools/GitLab-CI/requirements.txt
#
script:
#
- echo "build"
#
- export PATH=$PATH:./ghdl/bin
#
- export VUNIT_SIMULATOR=ghdl
#
- python3 ./testbench/run.py -k
# artifacts:
# paths:
# - mybinary
#
## run tests using the binary built before
#test:
# stage: test
...
...
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