Skip to content

Commit

Permalink
CI: move "submodules: true" to the top of each job
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ozog committed Nov 16, 2023
1 parent 4ac55af commit ce94209
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ jobs:
run: |
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Install dependencies
run: |
sudo apt-get install -y gfortran rpm mpich libmpich-dev libhwloc-dev
Expand Down Expand Up @@ -210,9 +212,6 @@ jobs:
sudo chown `whoami` /dev/xpmem
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.sos_config }})
run: |
./autogen.sh
Expand Down Expand Up @@ -487,6 +486,8 @@ jobs:
run: |
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Install dependencies
run: |
sudo apt-get install -y gfortran mpich libmpich-dev
Expand Down Expand Up @@ -536,9 +537,6 @@ jobs:
make install
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.sos_config }})
run: |
./autogen.sh
Expand Down Expand Up @@ -580,6 +578,8 @@ jobs:
run: |
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Install dependencies
run: |
sudo apt-get install -y gfortran mpich libmpich-dev libev-dev libev-libevent-dev
Expand Down Expand Up @@ -629,9 +629,6 @@ jobs:
make install
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.name }})
run: |
./autogen.sh
Expand Down Expand Up @@ -660,6 +657,8 @@ jobs:
run: |
echo "OS_NAME=$(lsb_release -si)-$(ls_release -sr)" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Install dependencies
run: |
sudo apt-get install -y gfortran mpich libmpich-dev libev-dev libev-libevent-dev
Expand All @@ -685,9 +684,6 @@ jobs:
sudo chown `whoami` /dev/xpmem
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.name }})
run: |
./autogen.sh
Expand Down

0 comments on commit ce94209

Please sign in to comment.