Skip to content

Commit

Permalink
Updated CI to install submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
kholland-intel committed Nov 16, 2023
1 parent 7af5fd4 commit 4cfc518
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ 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 @@ -533,6 +536,9 @@ jobs:
make install
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.sos_config }})
run: |
./autogen.sh
Expand Down Expand Up @@ -623,6 +629,9 @@ jobs:
make install
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.name }})
run: |
./autogen.sh
Expand Down Expand Up @@ -676,6 +685,9 @@ jobs:
sudo chown `whoami` /dev/xpmem
# SOS
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Build SOS (${{ matrix.name }})
run: |
./autogen.sh
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

test -d ./config || mkdir ./config

test -f modules/test-sos/configure.ac || { cd modules/test-sos; git submodule update --init; cd ../..; }
test -f modules/test-sos/configure.ac || { echo -n "WARNING: The test directory is empty. Please run the following command to install the SOS tests:\ngit submodule update --init"; }

FILES=./man/*.1
echo -n "dist_man1_MANS =" > ./man/Makefile.am
Expand Down

0 comments on commit 4cfc518

Please sign in to comment.