Fix chmod and env variables for test.

This commit is contained in:
Ashton Snelgrove 2021-01-22 16:36:19 -07:00
parent 40276ceaa4
commit 25f8ea6e73
2 changed files with 3 additions and 1 deletions

View File

@ -225,6 +225,8 @@ jobs:
shell: bash shell: bash
run: source .github/workflows/${{matrix.config.script}} run: source .github/workflows/${{matrix.config.script}}
docker_regression_tests: docker_regression_tests:
env:
OPENFPGA_PATH: /__w/OpenFPGA/OpenFPGA
needs: change_detect needs: change_detect
if: ${{ !fromJSON(needs.change_detect.outputs.source_modified) }} if: ${{ !fromJSON(needs.change_detect.outputs.source_modified) }}
name: Regression tests against master artifacts name: Regression tests against master artifacts

View File

@ -6,7 +6,7 @@ COPY ace2/ace /opt/openfpga/ace2/
COPY vpr/vpr /opt/openfpga/vpr/ COPY vpr/vpr /opt/openfpga/vpr/
COPY yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc /opt/openfpga/yosys/ COPY yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc /opt/openfpga/yosys/
COPY yosys/share /opt/openfpga/yosys/share COPY yosys/share /opt/openfpga/yosys/share
RUN cd /opt/openfpga && chmod +x abc/abc ace2/ace openfpga vpr/vpr yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc RUN cd /opt/openfpga && chmod +x abc/abc ace2/ace openfpga/openfpga vpr/vpr yosys/yosys yosys/yosys-abc yosys/yosys-config yosys/yosys-filterlib yosys/yosys-smtbmc
COPY openfpga_flow /opt/openfpga/openfpga_flow COPY openfpga_flow /opt/openfpga/openfpga_flow
ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys:/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}" ENV PATH="/opt/openfpga/openfpga:/opt/openfpga/yosys:/opt/openfpga/ace2:/opt/openfpga/abc:/opt/openfpga/vpr:${PATH}"
ENV OPENFPGA_PATH="/opt/openfpga:${PATH}" ENV OPENFPGA_PATH="/opt/openfpga:${PATH}"