Skip to content

Commit 4fafe9f

Browse files
committed
Add github action to build and test with mmap emulation
1 parent 4ce8e01 commit 4fafe9f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ jobs:
9696
ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10
9797
TSAN_OPTIONS: suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1
9898
os: ubuntu-latest
99+
- # Focal, Clang 10, mmap emulation (NO_MMAP)
100+
container:
101+
name: focal
102+
env:
103+
CC: clang-10
104+
CFLAGS: -DNO_MMAP
105+
CMAKE_OPTIONS: -DCMAKE_PREFIX_PATH=/usr/local
106+
CMAKE_GENERATOR: Ninja
107+
SKIP_SSH_TESTS: true
108+
SKIP_NEGOTIATE_TESTS: true
109+
os: ubuntu-latest
99110
- # macOS
100111
os: macos-10.15
101112
env:
@@ -114,6 +125,15 @@ jobs:
114125
CMAKE_OPTIONS: -A x64 -DWIN32_LEAKCHECK=ON -DDEPRECATE_HARD=ON
115126
SKIP_SSH_TESTS: true
116127
SKIP_NEGOTIATE_TESTS: true
128+
- # Windows amd64 Visual Studio (NO_MMAP)
129+
os: windows-2019
130+
env:
131+
ARCH: amd64
132+
CMAKE_GENERATOR: Visual Studio 16 2019
133+
CFLAGS: -DNO_MMAP
134+
CMAKE_OPTIONS: -A x64 -DDEPRECATE_HARD=ON
135+
SKIP_SSH_TESTS: true
136+
SKIP_NEGOTIATE_TESTS: true
117137
- # Windows x86 Visual Studio
118138
os: windows-2019
119139
env:

0 commit comments

Comments
 (0)