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
cf754031
Commit
cf754031
authored
Feb 17, 2023
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nightly
parent
45e95144
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
29 deletions
+14
-29
.github/workflows/nightly.yml
+14
-29
No files found.
.github/workflows/nightly.yml
View file @
cf754031
...
...
@@ -324,35 +324,20 @@ jobs:
run
:
docker build -t ${{ env.docker-registry-container-sha }} -f ${{ env.dockerfile }} .
working-directory
:
${{ env.docker-config-path }}
if
:
matrix.platform.container.name != '' && env.docker-container-exists != 'true'
-
name
:
Build and test
run
:
|
export GITTEST_NEGOTIATE_PASSWORD="${{ secrets.GITTEST_NEGOTIATE_PASSWORD }}"
if [ -n "${{ matrix.platform.container.name }}" ]; then
docker run \
--rm \
--user libgit2:libgit2 \
-v "$(pwd)/source:/home/libgit2/source" \
-w /home/libgit2 \
-e ASAN_SYMBOLIZER_PATH \
-e CC \
-e CFLAGS \
-e CMAKE_GENERATOR \
-e CMAKE_OPTIONS \
-e GITTEST_NEGOTIATE_PASSWORD \
-e GITTEST_FLAKY_STAT \
-e PKG_CONFIG_PATH \
-e SKIP_NEGOTIATE_TESTS \
-e SKIP_SSH_TESTS \
-e TSAN_OPTIONS \
${{ env.docker-registry-container-sha }} \
/bin/bash -c "mkdir build && cd build && ../source/ci/build.sh && ../source/ci/test.sh"
else
mkdir build && cd build
../source/ci/build.sh
../source/ci/test.sh
fi
shell
:
bash
-
name
:
Prepare build
run
:
mkdir build
-
name
:
Build
uses
:
./source/.github/actions/run-build
with
:
command
:
cd build && ../source/ci/build.sh
container
:
${{ matrix.platform.container.name }}
container-version
:
${{ env.docker-registry-container-sha }}
-
name
:
Test
uses
:
./source/.github/actions/run-build
with
:
command
:
cd build && ../source/ci/test.sh
container
:
${{ matrix.platform.container.name }}
container-version
:
${{ env.docker-registry-container-sha }}
coverity
:
# Only run scheduled workflows on the main repository; prevents people
...
...
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