Skip to content

Commit

Permalink
move git from apptainer to the previous step (#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
acdo2002 authored May 6, 2024
1 parent 5d7d057 commit 75cd13d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/icd_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
SRC_DIR=$GITHUB_WORKSPACE/source
BUILD_DIR=$GITHUB_WORKSPACE/build-${{ matrix.os_version }}
rm -rf $BUILD_DIR && mkdir -p $BUILD_DIR
cd source ; git submodule update --init --recursive
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $SRC_DIR ${{ matrix.image }} /bin/bash -c "\
git submodule update --init --recursive && \
cd $BUILD_DIR && \
cmake $SRC_DIR \
-Dtest=on \
Expand Down Expand Up @@ -178,9 +178,11 @@ jobs:
BUILD_DIR=$GITHUB_WORKSPACE/build-${{ matrix.os_version }}
ICD_DIR=$GITHUB_WORKSPACE/ICD-RxJS
cp -r $ICD_DIR $BUILD_DIR
cd $BUILD_DIR/ICD-RxJS
git submodule update --init --recursive
apptainer exec --bind $GITHUB_WORKSPACE:$GITHUB_WORKSPACE --pwd $BUILD_DIR ${{ matrix.image }} /bin/bash -c "\
cd ICD-RxJS && \
git submodule init && git submodule update && npm install && \
npm install && \
cd protobuf && \
./build_proto.sh && \
cd ../src/test && \
Expand Down

0 comments on commit 75cd13d

Please sign in to comment.