[ci] update docker setting due to changes in build compatibility and executable paths
This commit is contained in:
parent
abf9757154
commit
eda989dda2
|
@ -68,7 +68,8 @@ jobs:
|
||||||
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }}
|
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }}
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }}
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
#container: ghcr.io/${{ needs.change_detect.outputs.docker_repo }}/openfpga-build-${{ matrix.config.cc}}
|
# Note: dependencies are installed in the container. See details about dependency list in docker/Dockerfile.master
|
||||||
|
container: ghcr.io/${{ needs.change_detect.outputs.docker_repo }}/openfpga-build-${{ matrix.config.cc}}
|
||||||
# Branch on different OS and settings
|
# Branch on different OS and settings
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -116,9 +117,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: ./.github/workflows/install_dependencies_build.sh
|
|
||||||
|
|
||||||
- name: Dump tool versions
|
- name: Dump tool versions
|
||||||
run: |
|
run: |
|
||||||
cmake --version
|
cmake --version
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:20.04
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get install software-properties-common -y
|
RUN apt-get update && apt-get install software-properties-common -y
|
||||||
# 18.04 includes 2.17 but github requires 2.18+ to support submodules.
|
# 18.04 includes 2.17 but github requires 2.18+ to support submodules.
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
||||||
|
RUN apt-get update && apt-get install -y clang-format-7 clang-10
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
||||||
|
RUN apt-get update && apt-get install -y clang-format-7 clang-7
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
||||||
|
RUN apt-get update && apt-get install -y gcc-10 g++-10
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
||||||
|
RUN apt-get update && apt-get install -y gcc-11 g++-11
|
|
@ -1,2 +0,0 @@
|
||||||
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
|
||||||
RUN apt-get update && apt-get install -y gcc-5 g++-5
|
|
|
@ -1,2 +0,0 @@
|
||||||
FROM ghcr.io/lnis-uofu/openfpga-build-base
|
|
||||||
RUN apt-get update && apt-get install -y gcc-6 g++-6
|
|
|
@ -2,7 +2,7 @@ FROM ghcr.io/lnis-uofu/openfpga-env
|
||||||
RUN mkdir -p /opt/openfpga
|
RUN mkdir -p /opt/openfpga
|
||||||
WORKDIR /opt/openfpga
|
WORKDIR /opt/openfpga
|
||||||
COPY . /opt/openfpga
|
COPY . /opt/openfpga
|
||||||
RUN chmod +x abc/abc ace2/ace openfpga/openfpga vpr/vpr
|
RUN chmod +x build/vtr-verilog-to-routing/abc/abc ace2/ace build/openfpga/openfpga build/vtr-verilog-to-routing/vpr/vpr
|
||||||
RUN chmod +x yosys/install/bin/yosys yosys/install/bin/yosys-abc yosys/install/bin/yosys-config yosys/install/bin/yosys-filterlib yosys/install/bin/yosys-smtbmc
|
RUN chmod +x yosys/install/bin/yosys yosys/install/bin/yosys-abc yosys/install/bin/yosys-config yosys/install/bin/yosys-filterlib yosys/install/bin/yosys-smtbmc
|
||||||
ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys/install/bin:${PATH}"
|
ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys/install/bin:${PATH}"
|
||||||
ENV PATH="/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}"
|
ENV PATH="/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}"
|
||||||
|
|
Loading…
Reference in New Issue