-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sourav Moitra <[email protected]>
- Loading branch information
Showing
11 changed files
with
312 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,6 @@ jobs: | |
distro: ubuntu_latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
set-safe-directory: true | ||
|
||
- uses: uraimo/[email protected] | ||
name: Build | ||
|
@@ -33,29 +30,16 @@ jobs: | |
|
||
githubToken: ${{ github.token }} | ||
|
||
setup: | | ||
git submodule update --init --recursive | ||
git clone https://github.com/akheron/jansson | ||
# Install jansson | ||
cd jansson; | ||
autoreconf -fi; | ||
./configure; | ||
make; | ||
make install; | ||
cd .. | ||
install: | | ||
apt-get update -q -y | ||
apt-get install -q -y python3 automake libtool autotools-dev git make cmake pkg-config gcc wget xz-utils | ||
apt-get install -q -y python3 automake libtool autotools-dev git make cmake pkg-config gcc wget xz-utils libjson-c-dev | ||
run: | | ||
# Configure and Run libocispec | ||
export JANSSON_CFLAGS=-I/usr/local/include; | ||
export JANSSON_LIBS=/usr/local/lib/libjansson.so | ||
find $(pwd) -name '.git' -exec bash -c 'git config --global --add safe.directory ${0%/.git}' {} \; | ||
./autogen.sh | ||
./configure CFLAGS='-Wall -Wextra -Werror' | ||
make -j $(nproc) distcheck AM_DISTCHECK_DVI_TARGET="" TESTS="" | ||
make -j $(nproc) distcheck AM_DISTCHECK_DVI_TARGET="" | ||
# check that the working dir is clean | ||
git describe --broken --dirty --all | grep -qv dirty | ||
make clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.