Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
ca41f2fa
Commit
ca41f2fa
authored
Sep 21, 2021
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that nghttp2 can be built from tar archive
parent
daae20d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
.github/workflows/build.yml
.github/workflows/build.yml
+11
-5
No files found.
.github/workflows/build.yml
View file @
ca41f2fa
...
...
@@ -144,22 +144,28 @@ jobs:
run
:
|
git submodule update --init
-
name
:
Configure autotools
if
:
matrix.buildtool == 'autotools'
run
:
|
autoreconf -i
./configure
--enable-werror --with-mruby $EXTRA_AUTOTOOLS_OPTS
./configure
-
name
:
Configure cmake
if
:
matrix.buildtool == 'cmake'
run
:
|
cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 $EXTRA_CMAKE_OPTS -DCPPFLAGS="$CPPFLAGS" -DLDFLAGS="$LDFLAGS" .
make dist
VERSION=$(grep PACKAGE_VERSION config.h | cut -d' ' -f3 | tr -d '"')
tar xf nghttp2-$VERSION.tar.gz
cd nghttp2-$VERSION
echo 'NGHTTP2_CMAKE_DIR='"$PWD" >> $GITHUB_ENV
cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1 -DENABLE_APP=1 $EXTRA_CMAKE_OPTS -DCPPFLAGS="$CPPFLAGS" -DLDFLAGS="$LDFLAGS" .
-
name
:
Build nghttp2 with autotools
if
:
matrix.buildtool == 'autotools'
run
:
|
make distcheck \
DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --enable-werror $EXTRA_AUTOTOOLS_OPTS CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\""
DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --
with-libev --
enable-werror $EXTRA_AUTOTOOLS_OPTS CPPFLAGS=\"$CPPFLAGS\" LDFLAGS=\"$LDFLAGS\""
-
name
:
Build nghttp2 with cmake
if
:
matrix.buildtool == 'cmake'
run
:
|
cd $NGHTTP2_CMAKE_DIR
make
make check
-
name
:
Integration test
...
...
@@ -167,5 +173,5 @@ jobs:
# artifacts.
if
:
matrix.buildtool == 'cmake'
run
:
|
cd integration-tests
cd
$NGHTTP2_CMAKE_DIR/
integration-tests
make itprep it
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment