Skip to content

Commit b706286

Browse files
authored
Merge pull request #2154 from facebook/dev
v1.4.5
2 parents 10f0e69 + 2992293 commit b706286

File tree

275 files changed

+14022
-11159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+14022
-11159
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
- run:
1313
name: Test
1414
command: |
15-
cc -v; CFLAGS="-O0 -Werror" make all && make clean
15+
./tests/test-license.py
16+
cc -v; CFLAGS="-O0 -Werror -pedantic" make all && make clean
1617
make c99build ; make clean
1718
make c11build ; make clean
1819
make aarch64build ; make clean
@@ -33,7 +34,7 @@ jobs:
3334
make ppc64build; make clean
3435
make ppcbuild ; make clean
3536
make armbuild ; make clean
36-
make -C tests test-legacy test-longmatch test-symbols; make clean
37+
make -C tests test-legacy test-longmatch; make clean
3738
make -C lib libzstd-nomt; make clean
3839
# This step is only run on release tags.
3940
# It publishes the source tarball as artifacts and if the GITHUB_TOKEN

.cirrus.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
env:
2-
CIRRUS_CLONE_DEPTH: 1
3-
ARCH: amd64
4-
51
task:
2+
name: FreeBSD (shortest)
63
freebsd_instance:
74
matrix:
8-
image: freebsd-12-0-release-amd64
9-
image: freebsd-11-2-release-amd64
10-
install_script:
11-
- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
12-
- pkg upgrade -y
13-
- pkg install -y gmake coreutils
5+
image_family: freebsd-12-1
6+
# The stable 11.3 image causes "Agent is not responding" so use a snapshot
7+
image_family: freebsd-11-3-snap
8+
install_script: pkg install -y gmake coreutils
149
script: |
1510
MOREFLAGS="-Werror" gmake -j all
1611
gmake shortest
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Downloads data '...'
16+
2. Run '...' with flags '...'
17+
3. Scroll up on the log to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots and charts**
24+
If applicable, add screenshots and charts to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. Mac]
28+
- Version [e.g. 22]
29+
- Compiler [e.g gcc]
30+
- Flags [e.g O2]
31+
- Other relevant hardware specs [e.g. Dual-core]
32+
- Build system [e.g. Makefile]
33+
34+
**Additional context**
35+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CIFuzz
2+
on: [pull_request]
3+
jobs:
4+
Fuzzing:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Build Fuzzers
8+
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
9+
with:
10+
oss-fuzz-project-name: 'zstd'
11+
dry-run: false
12+
- name: Run Fuzzers
13+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
14+
with:
15+
oss-fuzz-project-name: 'zstd'
16+
fuzz-seconds: 600
17+
dry-run: false
18+
- name: Upload Crash
19+
uses: actions/upload-artifact@v1
20+
if: failure()
21+
with:
22+
name: artifacts
23+
path: ./out/artifacts

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ projects/
3131
bin/
3232
.buckd/
3333
buck-out/
34+
build-*
3435

3536
# Other files
3637
.directory
@@ -43,3 +44,6 @@ _zstdbench/
4344
googletest/
4445
*.d
4546
*.vscode
47+
*.code-workspace
48+
compile_commands.json
49+
.clangd

0 commit comments

Comments
 (0)