Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
3392da3c
Unverified
Commit
3392da3c
authored
Jan 15, 2021
by
Edward Thomson
Committed by
GitHub
Jan 15, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5780 from libgit2/ethomson/ci
ci: don't use ninja on macOS
parents
674875dc
75888f27
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
.github/workflows/main.yml
+0
-1
.github/workflows/nightly.yml
+0
-1
ci/build.sh
+12
-1
No files found.
.github/workflows/main.yml
View file @
3392da3c
...
@@ -153,7 +153,6 @@ jobs:
...
@@ -153,7 +153,6 @@ jobs:
env
:
env
:
CC
:
clang
CC
:
clang
CMAKE_OPTIONS
:
-DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
CMAKE_GENERATOR
:
Ninja
PKG_CONFIG_PATH
:
/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_PATH
:
/usr/local/opt/openssl/lib/pkgconfig
SKIP_SSH_TESTS
:
true
SKIP_SSH_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
...
...
.github/workflows/nightly.yml
View file @
3392da3c
...
@@ -112,7 +112,6 @@ jobs:
...
@@ -112,7 +112,6 @@ jobs:
env
:
env
:
CC
:
clang
CC
:
clang
CMAKE_OPTIONS
:
-DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
CMAKE_GENERATOR
:
Ninja
PKG_CONFIG_PATH
:
/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_PATH
:
/usr/local/opt/openssl/lib/pkgconfig
SKIP_SSH_TESTS
:
true
SKIP_SSH_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
...
...
ci/build.sh
View file @
3392da3c
...
@@ -33,6 +33,9 @@ if [ -f "/etc/debian_version" ]; then
...
@@ -33,6 +33,9 @@ if [ -f "/etc/debian_version" ]; then
(
source
/etc/lsb-release
&&
echo
"
${
DISTRIB_DESCRIPTION
}
"
)
| indent
(
source
/etc/lsb-release
&&
echo
"
${
DISTRIB_DESCRIPTION
}
"
)
| indent
fi
fi
CORES
=
$(
getconf _NPROCESSORS_ONLN
||
true
)
echo
"Number of cores:
${
CORES
:-
(Unknown)
}
"
echo
"Kernel version:"
echo
"Kernel version:"
uname
-a
2>&1 | indent
uname
-a
2>&1 | indent
...
@@ -64,4 +67,12 @@ echo "##########################################################################
...
@@ -64,4 +67,12 @@ echo "##########################################################################
echo
"## Building libgit2"
echo
"## Building libgit2"
echo
"##############################################################################"
echo
"##############################################################################"
env
PATH
=
"
${
BUILD_PATH
}
"
"
${
CMAKE
}
"
--build
.
# Determine parallelism; newer cmake supports `--build --parallel` but
# we cannot yet rely on that.
if
[
"
${
CMAKE_GENERATOR
}
"
=
"Unix Makefiles"
-a
"
${
CORES
}
"
!=
""
]
;
then
BUILDER
=(
make
-j
${
CORES
}
)
else
BUILDER
=(
"
${
CMAKE
}
"
--build
.
)
fi
env
PATH
=
"
${
BUILD_PATH
}
"
"
${
BUILDER
[@]
}
"
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