Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You don't need to compile GHDL on Travis-Ci by your own. #5

Open
Paebbels opened this issue Aug 26, 2016 · 0 comments
Open

You don't need to compile GHDL on Travis-Ci by your own. #5

Paebbels opened this issue Aug 26, 2016 · 0 comments

Comments

@Paebbels
Copy link

Hello Lars,

you don't need to compile GHDL from sources on every run.
Have a look at PoC's /tools/Travis-CI/ directory: https://github.com/VLSI-EDA/PoC/tree/master/tools/Travis-CI

I convinced Tristan to provide "monthly" GHDL builds at GitHub Releases, so when Tristan tags a GHDl version, Travis-CI builds GHDL and a archiv is uploaded to GitHub Releases. This version is then downloaded into PoC's Travis-CI run. => https://github.com/tgingold/ghdl/releases/tag/2016-06-07

language: python
matrix:
  include:
    - env: CONFIG="Trusty,Python3.5,libgnat-4.8,grc-1.9"
      os: linux
      sudo: required
      dist: trusty
      python: "3.5"
      before_install:
        - sudo apt-get install -y libgnat-4.8
        - sudo ./tools/Travis-CI/grc.setup.sh
    - env: CONFIG="Precise,Python3.5,gnat-5"
      os: linux
      python: "3.5"
      addons:
        apt:
          packages:
            - gnat-5
  allow_failures:
    - env: CONFIG="Precise,Python3.5,gnat-5"
install:
  - pip3 install -r tools/Travis-CI/requirements.txt
before_script:
  - ./tools/Travis-CI/ghdl.setup.sh
  - ./tools/Travis-CI/poc.setup.sh
script:
  - ./tools/Travis-CI/poc.run.sh "PoC.*"

In ghdl.setup.sh GHDL gets extracted and installed. Afterwards we copy a set of predefined config files into PoC, so PoC is configured on Travis and can start it's testbenches.

Kind regards
Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant