ci: Build prjoxide only for LIFCL

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-03-30 16:33:50 +01:00
parent a003aae7c2
commit 9259763599
2 changed files with 8 additions and 7 deletions

View File

@ -42,12 +42,13 @@ function get_dependencies {
popd popd
# Install prjoxide # Install prjoxide
curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- -y if [ ${DEVICE} == "LIFCL-17" ]; then
git clone --recursive https://github.com/gatecat/prjoxide.git curl --proto '=https' -sSf https://sh.rustup.rs | sh -s -- -y
pushd prjoxide/libprjoxide git clone --recursive https://github.com/gatecat/prjoxide.git
PATH=$PATH:$HOME/.cargo/bin cargo install --path prjoxide --all-features pushd prjoxide/libprjoxide
popd PATH=$PATH:$HOME/.cargo/bin cargo install --path prjoxide --all-features
popd
fi
} }
function build_nextpnr { function build_nextpnr {

View File

@ -107,7 +107,7 @@ jobs:
INTERCHANGE_SCHEMA_PATH: ${{ github.workspace }}/3rdparty/fpga-interchange-schema/interchange INTERCHANGE_SCHEMA_PATH: ${{ github.workspace }}/3rdparty/fpga-interchange-schema/interchange
PYTHON_INTERCHANGE_PATH: ${{ github.workspace }}/python-fpga-interchange PYTHON_INTERCHANGE_PATH: ${{ github.workspace }}/python-fpga-interchange
PYTHON_INTERCHANGE_TAG: v0.0.6 PYTHON_INTERCHANGE_TAG: v0.0.6
DEVICE: ${{ matrix.device }}
run: | run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
source ./.github/ci/build_interchange.sh source ./.github/ci/build_interchange.sh