From 4cfc518cf2f5f0ecee0109198a58087d0669198c Mon Sep 17 00:00:00 2001 From: kholland Date: Thu, 16 Nov 2023 10:18:55 -0600 Subject: [PATCH] Updated CI to install submodule --- .github/workflows/ci.yml | 12 ++++++++++++ autogen.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8920d24..bf74083d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -533,6 +536,9 @@ jobs: make install # SOS + - uses: actions/checkout@v2 + with: + submodules: 'true' - name: Build SOS (${{ matrix.sos_config }}) run: | ./autogen.sh @@ -623,6 +629,9 @@ jobs: make install # SOS + - uses: actions/checkout@v2 + with: + submodules: 'true' - name: Build SOS (${{ matrix.name }}) run: | ./autogen.sh @@ -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 diff --git a/autogen.sh b/autogen.sh index 985bcb74..2aec3ee8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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