Compare commits
6 commits
72e6da5951
...
main
Author | SHA1 | Date | |
---|---|---|---|
6b8f1649d1 | |||
b0a0022bca | |||
1f627239b5 | |||
31fd8b3606 | |||
a5223845ff | |||
c9bd39553c |
3 changed files with 22 additions and 13 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -2,26 +2,26 @@ name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- name: Login to Docker Hub
|
||||||
name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
- name: Set up QEMU
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
- name: Set up Docker Buildx
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: brendanhaines/iverilog:latest
|
tags: brendanhaines/iverilog:latest
|
||||||
|
build-args:
|
||||||
|
ANNOTATION_DESCRIPTION="${{ github.server_url }}/${{ github.repository }}"
|
|
@ -1,6 +1,5 @@
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
RUN \
|
RUN apt update && \
|
||||||
apt update && \
|
|
||||||
apt install -y autoconf gperf make gcc g++ bison flex && \
|
apt install -y autoconf gperf make gcc g++ bison flex && \
|
||||||
apt clean
|
apt clean
|
||||||
|
|
||||||
|
@ -10,8 +9,7 @@ WORKDIR /iverilog
|
||||||
# RUN git clone --recursive https://github.com/steveicarus/iverilog.git
|
# RUN git clone --recursive https://github.com/steveicarus/iverilog.git
|
||||||
|
|
||||||
# BUILD RELEASED CODE
|
# BUILD RELEASED CODE
|
||||||
RUN \
|
RUN apt update && \
|
||||||
apt update && \
|
|
||||||
apt install -y wget && \
|
apt install -y wget && \
|
||||||
apt clean
|
apt clean
|
||||||
RUN wget https://github.com/steveicarus/iverilog/archive/refs/tags/v12_0.tar.gz && \
|
RUN wget https://github.com/steveicarus/iverilog/archive/refs/tags/v12_0.tar.gz && \
|
||||||
|
|
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Icarus Verilog Docker Container
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Released on docker hub: https://hub.docker.com/r/brendanhaines/iverilog
|
||||||
|
|
||||||
|
`docker pull brendanhaines/iverilog:latest`
|
||||||
|
|
||||||
|
`iverilog` is on `PATH`
|
||||||
|
|
||||||
|
This image is based on `ubuntu` and therefore is huge.
|
Loading…
Add table
Reference in a new issue