Skip to content

Commit

Permalink
Clone project
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Sep 16, 2024
1 parent 55cb347 commit 44c25ba
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ RUN mkdir -p $BUILD_DIR && \
mkdir -p $TTMLIR_TOOLCHAIN_DIR && \
mkdir -p $TTFORGE_TOOLCHAIN_DIR

# Clone the project and update submodules before the docker build
COPY . $BUILD_DIR/$PROJECT_NAME
WORKDIR $BUILD_DIR/$PROJECT_NAME
# Clone the project and update submodules
RUN git clone https://github.com/tenstorrent/$PROJECT_NAME.git $BUILD_DIR/$PROJECT_NAME && \
cd $BUILD_DIR/$PROJECT_NAME && \
git checkout $GIT_SHA && \
git submodule update --init --recursive -f

# Build the toolchain
WORKDIR $BUILD_DIR/$PROJECT_NAME
Expand Down

0 comments on commit 44c25ba

Please sign in to comment.