ports #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TopWrap | |
on: | |
push: | |
pull_request: | |
env: | |
CI: true | |
DOCKER_BUILDKIT: 1 | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
name: 'TopWrap' | |
steps: | |
- name: '🧰 Checkout' | |
uses: actions/checkout@v3 | |
- name: '🛳️ Build osvb/osvde' | |
run: | | |
docker build -t osvb/osvde - <<-EOF | |
FROM ghcr.io/hdl/sim/osvb@sha256:ca08fcc7906bd34108f9bc9ef9d981045e65b09cc4961a5d271468888cfea7dc | |
ENV PYTHONPATH=/src/mods | |
RUN apt update -qq && apt install -y \ | |
git \ | |
make \ | |
python3-pip \ | |
python3-setuptools \ | |
&& pip3 install git+https://github.com/ghdl/ghdl.git@\$(ghdl version hash) | |
EOF | |
- name: '🚧 Test TopWrap' | |
run: docker run --rm -v $(pwd):/wrk osvb/osvde /wrk/mods/pyOSVDE/TopWrap.sh |