Skip to content

Commit

Permalink
ci: Enable ability to use branches other than 'main' for submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
philipmarshall21 committed Apr 18, 2024
1 parent c12a8c3 commit 8a8ea6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Install dependencies
run: |
Expand Down Expand Up @@ -217,6 +218,7 @@ jobs:
# SOS
- name: Build SOS (${{ matrix.sos_config }})
run: |
git submodule update --remote
./autogen.sh
mkdir build; cd build
../configure --prefix=${SOS_INSTALL_DIR} --with-ofi=${LIBFABRIC_INSTALL_DIR} ${{ matrix.sos_config }}
Expand Down Expand Up @@ -489,6 +491,7 @@ jobs:
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Install dependencies
run: |
Expand Down Expand Up @@ -541,6 +544,7 @@ jobs:
# SOS
- name: Build SOS (${{ matrix.sos_config }})
run: |
git submodule update --remote
./autogen.sh
mkdir build; cd build
../configure --prefix=${SOS_INSTALL_DIR} --with-ucx=${UCX_INSTALL_DIR} ${{ matrix.sos_config }}
Expand Down Expand Up @@ -581,6 +585,7 @@ jobs:
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Install dependencies
run: |
Expand Down Expand Up @@ -633,6 +638,7 @@ jobs:
# SOS
- name: Build SOS (${{ matrix.name }})
run: |
git submodule update --remote
./autogen.sh
mkdir build; cd build
../configure --prefix=${SOS_INSTALL_DIR} --with-portals4=${PORTALS4_INSTALL_DIR} ${{ matrix.sos_config }}
Expand Down Expand Up @@ -660,6 +666,7 @@ jobs:
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Install dependencies
run: |
Expand Down Expand Up @@ -688,6 +695,7 @@ jobs:
# SOS
- name: Build SOS (${{ matrix.name }})
run: |
git submodule update --remote
./autogen.sh
mkdir build; cd build
../configure --prefix=${SOS_INSTALL_DIR} ${{ matrix.sos_config }}
Expand Down

0 comments on commit 8a8ea6d

Please sign in to comment.