Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5.7 #4298

Merged
merged 529 commits into from
Feb 19, 2025
Merged

v1.5.7 #4298

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
a224572
codemod: seqStore_t -> SeqStore_t
Cyan4973 Dec 10, 2024
8d4506b
codemod: ZSTD_sequenceLength -> ZSTD_SequenceLength
Cyan4973 Dec 10, 2024
477a010
codemod: symbolEncodingType_e -> SymbolEncodingType_e
Cyan4973 Dec 10, 2024
0442e43
codemod: ZSTD_defaultPolicy_e -> ZSTD_DefaultPolicy_e
Cyan4973 Dec 10, 2024
e9f8a11
ZSTD_entropyCompressSeqStore_internal() can accept an externally defi…
Cyan4973 Dec 10, 2024
0165eeb
created ZSTD_entropyCompressSeqStore_wExtLitBuffer()
Cyan4973 Dec 10, 2024
c97522f
codemod: ZSTD_sequenceFormat_e -> ZSTD_SequenceFormat_e
Cyan4973 Dec 10, 2024
894ea31
codemod: ZSTD_sequenceCopier -> ZSTD_SequenceCopier_f
Cyan4973 Dec 10, 2024
1ac79ba
minor: simplify ZSTD_selectSequenceCopier
Cyan4973 Dec 10, 2024
76dd3a9
scope: ZSTD_copySequencesToSeqStore*() are private to ZSTD_compress.c
Cyan4973 Dec 10, 2024
03d95f9
fix proper type for .forceNonContiguous
Cyan4973 Dec 10, 2024
5359d16
enable proper type
Cyan4973 Dec 10, 2024
30671d7
codemod: ZSTD_sequencePosition -> ZSTD_SequencePosition
Cyan4973 Dec 10, 2024
fa46894
codemod: ZSTD_buildSeqStore_e -> ZSTD_BuildSeqStore_e
Cyan4973 Dec 10, 2024
5df80ac
codemod: ZSTD_matchState_t -> ZSTD_MatchState_t
Cyan4973 Dec 10, 2024
41c667c
codemod: repcodes_t -> Repcodes_t
Cyan4973 Dec 11, 2024
25bef24
codemod: rawSeqStore_t -> RawSeqStore_t
Cyan4973 Dec 11, 2024
08edecb
codemod: ZSTD_blockCompressor -> ZSTD_BlockCompressor_f
Cyan4973 Dec 11, 2024
e0f3aae
doc: add mention of frame checksum incompatibility
Cyan4973 Dec 11, 2024
2503b64
fix minor artifact error in single_file_lib
Cyan4973 Dec 11, 2024
13b9296
minor simplification
Cyan4973 Dec 11, 2024
56cfb78
codemod: ZSTD_paramSwitch_e -> ZSTD_ParamSwitch_e
Cyan4973 Dec 11, 2024
4ef9d7d
codemod: ZSTD_cParamMode_e -> ZSTD_CParamMode_e
Cyan4973 Dec 11, 2024
047db4f
ZSTD_SequenceCopier_f no returns the nb of bytes consumed from input
Cyan4973 Dec 11, 2024
bcb1509
minor: more accurate variable scope
Cyan4973 Dec 11, 2024
14a21e4
produced ZSTD_compressSequencesAndLiterals() as a separate pipeline
Cyan4973 Dec 11, 2024
0b013b2
added unit tests to ZSTD_compressSequencesAndLiterals()
Cyan4973 Dec 12, 2024
09964c6
prepare fullbench for a refactor
Cyan4973 Dec 13, 2024
4c097b4
refactor fullbench
Cyan4973 Dec 13, 2024
c540976
minor: test reordering
Cyan4973 Dec 13, 2024
8b7e1b7
minor variable renaming
Cyan4973 Dec 13, 2024
c050ae4
fullbench: preparation functions are now in charge of allocating buffers
Cyan4973 Dec 14, 2024
8ab0409
add the compressSequences() benchmark scenario
Cyan4973 Dec 14, 2024
ac05ea8
fullbench: switch default generator to lorem ipsum
Cyan4973 Dec 14, 2024
f281497
fullbench: new scenario: compressSequencesAndLiterals()
Cyan4973 Dec 15, 2024
0a5c080
minor conversion warning fix
Cyan4973 Dec 15, 2024
1c8f5b0
minor optimization for ZSTD_compressSequencesAndLiterals()
Cyan4973 Dec 16, 2024
f176514
minor doc update
Cyan4973 Dec 16, 2024
a288751
minor optimization: only track seqPos->posInSrc when validateSequence…
Cyan4973 Dec 16, 2024
1f6d681
optimization: instantiate specialized version without Sequence checki…
Cyan4973 Dec 16, 2024
d2d0fda
updated documentation on validateSequence
Cyan4973 Dec 16, 2024
ca8bd83
minor: cleaner function parameter repcodeResolution
Cyan4973 Dec 16, 2024
5164d44
change advanced parameter name: ZSTD_c_repcodeResolution
Cyan4973 Dec 16, 2024
31b5ef2
ZSTD_compressSequencesAndLiterals() now supports multi-blocks frames.
Cyan4973 Dec 17, 2024
f0d0d95
added tests
Cyan4973 Dec 17, 2024
6f8c104
update Visual Studio solutions
Cyan4973 Dec 17, 2024
47edd0a
removed fullbench-dll project from visual solutions
Cyan4973 Dec 17, 2024
f617e86
fixed incorrect assert
Cyan4973 Dec 17, 2024
61ac831
attempt to silence Visual Studio warning about fopen()
Cyan4973 Dec 17, 2024
d48e330
change name to ZSTD_convertSequences*()
Cyan4973 Dec 17, 2024
95ad9e4
added benchmark for ZSTD_convertBlockSequences_wBlockDelim()
Cyan4973 Dec 18, 2024
12c47d3
improved speed of the Sequences converter
Cyan4973 Dec 18, 2024
b7b4e86
fixed minor conversion warning
Cyan4973 Dec 18, 2024
ad023b3
fixed minor error in one benchmark scenario
Cyan4973 Dec 18, 2024
0a54f6f
ZSTD_compressSequencesAndLiterals requires srcSize as parameter
Cyan4973 Dec 19, 2024
a80f55f
added a test for ZSTD_compressSequencesAndLiterals
Cyan4973 Dec 19, 2024
b339eff
add dedicated error code for special case
Cyan4973 Dec 19, 2024
ab0f179
ensure that srcSize is controlled
Cyan4973 Dec 19, 2024
52a9bc6
fixed minor error in preparation of one fullbench scenario
Cyan4973 Dec 19, 2024
76445bb
add a check, to return an error if Sequence validation is enabled
Cyan4973 Dec 19, 2024
b7a9e69
added parameter litCapacity
Cyan4973 Dec 19, 2024
522adc3
minor: use MEM_writeLE24()
Cyan4973 Dec 20, 2024
47cbfc8
restore invocation of ZSTD_entropyCompressSeqStore()
Cyan4973 Dec 20, 2024
f0937b8
[cmake] Fix -z noexecstack portability
terrelln Dec 20, 2024
f8725e8
added fuzzer test for compressSequencesAndLiterals()
Cyan4973 Dec 24, 2024
7b294ca
add one valid test case
Cyan4973 Dec 24, 2024
72ce56b
fixed another invalid scenario
Cyan4973 Dec 24, 2024
788926f
Merge pull request #4217 from facebook/ZSTD_compressSequencesAndLiterals
Cyan4973 Dec 26, 2024
f8a2b35
clarify doc on Frame-level methods when invoked on a skippable frame
Cyan4973 Dec 29, 2024
a2ff6ea
improve ZSTD_getFrameHeader on skippable frames
Cyan4973 Dec 29, 2024
cf5e53f
Merge pull request #4227 from facebook/doc_skippableFrame
Cyan4973 Dec 29, 2024
04a2a02
update type names
Cyan4973 Dec 29, 2024
f5d9d57
Merge pull request #4228 from facebook/skippableMagicVariant
Cyan4973 Jan 2, 2025
54c3d99
Support for libc variants without fseeko/ftello
Victor-C-Zhang Jan 2, 2025
757e29e
Oops
Victor-C-Zhang Jan 2, 2025
6b046f5
PR feedback
Victor-C-Zhang Jan 2, 2025
dfb236b
chore: indentation alignment
Victor-C-Zhang Jan 2, 2025
2759d9d
Merge pull request #4229 from facebook/noFseek
Victor-C-Zhang Jan 3, 2025
1548bfc
[opt] Fix too short of match getting generated
Dec 20, 2024
d88651e
Do not vary row matchfinder selection based on availability of SSE2/Neon
Victor-C-Zhang Jan 3, 2025
0fd5210
Update MANDIR for FreeBSD
sunpoet Jan 5, 2025
59c2e33
Merge pull request #4230 from facebook/variedOutput
Victor-C-Zhang Jan 6, 2025
f5e2996
Merge pull request #4231 from sunpoet/dev
Cyan4973 Jan 7, 2025
a610550
Merge pull request #4218 from facebook/externC
Victor-C-Zhang Jan 7, 2025
42d704a
should check defined(_M_X64) not defined(_M_X86) when building with M…
MessyHack Jan 11, 2025
5650004
bench: nb threads specified with -v
Cyan4973 Jan 12, 2025
f5dbdac
fixed macro name typo
Cyan4973 Jan 13, 2025
e490be8
fix out-of-bounds array index access
szsam Jan 13, 2025
80af41e
[contrib/pzstd] Prevent hangs when there are errors
yotann Jun 20, 2024
afff3d2
return error if block delimiter is not found
szsam Jan 14, 2025
7d63a1c
add prerelease option
lalakii Jan 14, 2025
421f9c9
Merge pull request #4237 from facebook/typo_s
Cyan4973 Jan 14, 2025
92d1a7d
Merge pull request #4234 from MessyHack/dev
Cyan4973 Jan 14, 2025
908a958
fix clang-pgo test
Cyan4973 Jan 15, 2025
0e819c9
fix meson-linux build test
Cyan4973 Jan 15, 2025
196e76e
fix make-external-compressors "only-lzma" test
Cyan4973 Jan 15, 2025
80ff61d
fixed cmake-build-and-test-check
Cyan4973 Jan 15, 2025
642157c
short-test-1: separate tests, giving each a name
Cyan4973 Jan 15, 2025
d4ae5c3
update installed lib64gcc version
Cyan4973 Jan 15, 2025
43626f1
zlib-wrapper: separate test components to better understand what is f…
Cyan4973 Jan 16, 2025
0b96e6d
fixed zlib test
Cyan4973 Jan 16, 2025
7227707
Merge pull request #4243 from facebook/fix_ci
Cyan4973 Jan 16, 2025
8867204
initial implementation (incomplete)
Cyan4973 Dec 29, 2024
d1f0e5f
fullbench can run a verification function
Cyan4973 Jan 7, 2025
8d62164
control long length within AVX2 implementation
Cyan4973 Jan 8, 2025
bfc58f5
generalize validation function
Cyan4973 Jan 8, 2025
8eb2587
added benchmark for get1BlockSummary()
Cyan4973 Jan 8, 2025
b6a4d5a
minor +10% speed improvement for scalar ZSTD_get1BlockSummary()
Cyan4973 Jan 8, 2025
ed0a8b8
AVX2 version of ZSTD_get1BlockSummary()
Cyan4973 Jan 8, 2025
cd53924
removed erroneous #includes
Cyan4973 Jan 8, 2025
db3d488
no need for specialized variant
Cyan4973 Jan 8, 2025
4aaf9ce
fix minor conversion warning
Cyan4973 Jan 8, 2025
57a4554
removed unused variable
Cyan4973 Jan 8, 2025
aa2cdf9
added compilation-time checks to ensure AVX2 code is valid
Cyan4973 Jan 8, 2025
e3181cf
minor code doc update
Cyan4973 Jan 8, 2025
6f8e6f3
create new compilation macro ZSTD_ARCH_X86_AVX2
Cyan4973 Jan 14, 2025
debe3d2
removed unused branch
Cyan4973 Jan 14, 2025
2f3ee8b
changed code compilation test to employ ZSTD_ARCH_X86_AVX2
Cyan4973 Jan 14, 2025
8bff69a
Alignment instruction ZSTD_ALIGNED() in common/compiler.h
Cyan4973 Jan 14, 2025
87f0a4f
restore full equation
Cyan4973 Jan 14, 2025
33747e2
Merge pull request #4232 from facebook/convertSequences_SSE
Cyan4973 Jan 16, 2025
19025f3
Merge pull request #4238 from szsam/patch-1
Cyan4973 Jan 16, 2025
319dc29
Merge pull request #4235 from facebook/bench_nbThreads
Cyan4973 Jan 16, 2025
c8243b4
Merge pull request #4242 from lalakii/dev
Cyan4973 Jan 16, 2025
7827514
Added a final success message at end of tests
Cyan4973 Jan 18, 2025
46e17b8
[asm] Enable x86_64 asm for windows builds
pps83 Jan 18, 2025
ee17f4c
Use _bzhi_u32 for 32-bit builds when building with STATIC_BMI2
pps83 Jan 18, 2025
4f3311f
CI: replaced shortest target by check
Cyan4973 Jan 18, 2025
053e4be
Merge pull request #4247 from facebook/test_endMsg
Cyan4973 Jan 18, 2025
e8de808
minor: assert that state is not null
Cyan4973 Jan 18, 2025
936927a
handle 32bit size_t when building for x64
pps83 Jan 18, 2025
26e5fb3
handle 32bit size_t when building for x64
pps83 Jan 18, 2025
462484d
change to BitContainerType
pps83 Jan 19, 2025
d60c4d7
remove unrelated changes
pps83 Jan 19, 2025
fcd684b
update sizeof check
pps83 Jan 19, 2025
eb2ceb4
Merge pull request #4249 from facebook/zds_nonnull
Cyan4973 Jan 19, 2025
167b004
Merge pull request #4246 from pps83/dev-asmx64-win
Cyan4973 Jan 19, 2025
a469e7c
Merge pull request #4248 from pps83/dev-bzhi32
Cyan4973 Jan 19, 2025
9efb097
added a CI test for x86 32-bit + avx2 combination
Cyan4973 Jan 19, 2025
35edbc2
added avx2 (x64) compilation test
Cyan4973 Jan 19, 2025
f0b5f65
fixed minor static function declaration issue
Cyan4973 Jan 19, 2025
0501095
added -DSTATIC_BMI2=1 for the -mavx2 test
Cyan4973 Jan 19, 2025
27d7940
minor: cosmetic, indentation
Cyan4973 Jan 19, 2025
d2d7461
also add `-mbmi2` to the compilation test
Cyan4973 Jan 19, 2025
e475dc4
Merge pull request #4250 from facebook/x86_32_avx2
Cyan4973 Jan 19, 2025
a556559
no longer limit automated BMI2 detection to x64
Cyan4973 Jan 19, 2025
9fbed33
Merge pull request #4251 from facebook/x32_bmi2
Cyan4973 Jan 19, 2025
4bbf4a2
enable DYNAMIC_BMI2 by default on x86 (32-bit mode)
Cyan4973 Jan 19, 2025
82346b9
minor: generalize BitContainerType
Cyan4973 Jan 19, 2025
0c335c9
Merge pull request #4252 from facebook/x32_dynamicBmi2
Cyan4973 Jan 20, 2025
48b186f
Merge pull request #4253 from facebook/BitContainerType
Cyan4973 Jan 20, 2025
e39ed41
Bump cygwin/cygwin-install-action from 4 to 5
dependabot[bot] Jan 20, 2025
5b9c5d4
Bump github/codeql-action from 3.27.1 to 3.28.1
dependabot[bot] Jan 20, 2025
056492e
Update dev-short-tests.yml
Cyan4973 Jan 20, 2025
cf01bbf
Merge pull request #4254 from facebook/dependabot/github_actions/cygw…
Cyan4973 Jan 20, 2025
f7c7553
Merge pull request #4255 from facebook/dependabot/github_actions/gith…
Cyan4973 Jan 20, 2025
6c1d1cc
Use _M_X64 only without mixing with _M_AMD64
pps83 Jan 21, 2025
a0872a8
Implement ZSTD_ALIGNED for ms compiler
pps83 Jan 21, 2025
897cec3
Build: Add support for Apple frameworks
Treata11 Jan 21, 2025
03d5ad6
Ignore generated framework artifacts
Treata11 Jan 21, 2025
becef67
Build: Revert min version to 3.10
Treata11 Jan 22, 2025
45c0e72
Instructions for Apple Framework builds
Treata11 Jan 22, 2025
2ef57cf
Merge pull request #4259 from Treata11/dev
Cyan4973 Jan 22, 2025
55c0c5b
Merge pull request #4258 from pps83/dev-ZSTD_ALIGNED
Cyan4973 Jan 22, 2025
a7b59bc
Merge pull request #4257 from pps83/dev-x64test
Cyan4973 Jan 23, 2025
1204626
Check `DYNAMIC_BMI2` instead of `DYNAMIC_BMI2 != 0`
pps83 Jan 23, 2025
ea0aa03
Merge pull request #4263 from pps83/dev-dyn-bmi2
Cyan4973 Jan 23, 2025
59afb28
Remove unused ZSTD_decompressSequences_t typedef
pps83 Jan 24, 2025
1b15e88
Move STATIC_BMI2 block as-is to portability_macros.h
pps83 Jan 23, 2025
d486ccc
Update comment for STATIC_BMI2 macro
pps83 Jan 23, 2025
0a18362
Reorder __BMI2__ check
pps83 Jan 23, 2025
f7e8fc3
Check `STATIC_BMI2` instead of `STATIC_BMI2 == 1`
pps83 Jan 23, 2025
0cda010
fix formatting
pps83 Jan 23, 2025
ab54285
Merge pull request #4266 from pps83/rm-ZSTD_decompressSequences_t
Cyan4973 Jan 27, 2025
6cd4204
CI: build with CMake on source directory with spaces to reproduce #4268
luau-project Jan 26, 2025
92be4be
[linux] Expose ZSTD_compressSequencesAndLiterals() in the kernel
gcabiddu Jan 21, 2025
1d088ba
Merge pull request #4260 from gcabiddu/compress_sequences_kernel
Cyan4973 Jan 27, 2025
be1bf24
fix: quote include directory for resource compiler
luau-project Jan 27, 2025
6a65a43
Merge pull request #4269 from luau-project/fix-rc-include
Cyan4973 Jan 27, 2025
de7c8b9
cmake: Remove duplicated line
tsdgeos Jan 27, 2025
8df6155
CI: enable Intel LLVM C compiler (icx) check
luau-project Jan 30, 2025
283fbd2
Merge pull request #4264 from pps83/dev-static-bmi2
Cyan4973 Jan 30, 2025
60f84f7
bench: better result alignment
Cyan4973 Jan 31, 2025
b55ff3c
Merge pull request #4278 from facebook/bench_x100
Cyan4973 Jan 31, 2025
086ddcd
Merge pull request #4271 from tsdgeos/removedupe
Cyan4973 Jan 31, 2025
26a2b5d
Merge pull request #4265 from pps83/static-bmi2-check
Cyan4973 Jan 31, 2025
7b856e3
Add noexecstack flag for gcc/clang C and CPP in Meson
Victor-C-Zhang Feb 4, 2025
6e1d02f
adding a Visual + ClangCL + AVX2 compilation test
Cyan4973 Feb 5, 2025
bcf404c
changed C11 keyword to _Alignas
Cyan4973 Feb 5, 2025
54e9d46
added __clang__ to compiler-specific alignment attribute
Cyan4973 Feb 5, 2025
8156a19
Merge pull request #4286 from facebook/visual_clang_avx2
Cyan4973 Feb 5, 2025
5883ee6
make visual studio tests error out on warnings
Cyan4973 Feb 5, 2025
32dff04
fix one minor alignment warning
Cyan4973 Feb 5, 2025
c39424e
fix minor alignment warning
Cyan4973 Feb 6, 2025
e117d79
fix minor alignment warning
Cyan4973 Feb 6, 2025
f9c1850
fix minor printf argument limitation on older mingw
Cyan4973 Feb 6, 2025
590c224
fix more %zu warnings
Cyan4973 Feb 6, 2025
e87d159
more %zu warnings fixes
Cyan4973 Feb 6, 2025
2949252
fix minor conversion warnings
Cyan4973 Feb 6, 2025
30e0f29
Merge pull request #4287 from facebook/warn_error
Cyan4973 Feb 6, 2025
ffa66a6
fix speed of --patch-from at high compression mode
Cyan4973 Jan 30, 2025
34ba144
minor boundary change
Cyan4973 Jan 31, 2025
e637fc6
update type naming convention
Cyan4973 Jan 31, 2025
85a44b2
always free .cdictLocal
Cyan4973 Jan 31, 2025
220abe6
reduced memory usage
Cyan4973 Feb 1, 2025
7406d2b
skips the need to create a temporary cdict for --patch-from
Cyan4973 Feb 1, 2025
f11bd19
ensure cdict is properly reset to NULL
Cyan4973 Feb 1, 2025
c7cd7dc
better MT fluidity
Cyan4973 Feb 1, 2025
23e5f80
Revert "pass dictionary loading method as parameter"
Cyan4973 Feb 6, 2025
ef2bf57
Merge pull request #4276 from facebook/fix_patchfrom_hc_speed
Cyan4973 Feb 6, 2025
0396480
Merge pull request #4284 from facebook/mesonNoexec
Cyan4973 Feb 6, 2025
aebffd6
--ultra automatically triggered with --long and --patch-from
Cyan4973 Feb 9, 2025
630b47a
added a new --max command
Cyan4973 Feb 9, 2025
8ae1330
add man entry for --max
Cyan4973 Feb 9, 2025
41b7193
added --max to test suite
Cyan4973 Feb 9, 2025
39d1d82
adjusted mml heuristic
Cyan4973 Feb 10, 2025
f86024c
reinforce man page warning
Cyan4973 Feb 10, 2025
7a2fce5
Bump github/codeql-action from 3.28.1 to 3.28.9
dependabot[bot] Feb 10, 2025
1603cbe
update test for 32-bit mode
Cyan4973 Feb 10, 2025
468e145
disable --max in 32-bit mode
Cyan4973 Feb 10, 2025
613901b
modifies command echoing for macos / linux compatibility
Cyan4973 Feb 10, 2025
071a4a0
Merge pull request #4291 from facebook/dependabot/github_actions/gith…
Cyan4973 Feb 10, 2025
e3a9351
Merge pull request #4290 from facebook/lmax
Cyan4973 Feb 10, 2025
5b8575a
Merge pull request #4289 from facebook/autoultra
Cyan4973 Feb 10, 2025
4609a40
dynamically adjust hratelog and ldmml based on strategy
Cyan4973 Feb 7, 2025
f26cc54
dynamic bucket sizes
Cyan4973 Feb 8, 2025
bf218c1
updated LDM documentation
Cyan4973 Feb 8, 2025
7c5b600
update results from the --long mode
Cyan4973 Feb 8, 2025
72406b7
update hrlog rule to favor compression ratio a bit more at low levels
Cyan4973 Feb 8, 2025
d5e4698
fix boundary condition
Cyan4973 Feb 8, 2025
09d7e34
adjust mml
Cyan4973 Feb 8, 2025
339bca6
update ldm compression results
Cyan4973 Feb 9, 2025
67fad95
derive hashratelog from hashlog when only hashlog is set
Cyan4973 Feb 9, 2025
d2c562b
update hrlog comment
Cyan4973 Feb 10, 2025
d84d70b
Merge pull request #4288 from facebook/stronger_patchfrom
Cyan4973 Feb 10, 2025
815ca8c
ubuntu 20 is being deprecated
Cyan4973 Feb 11, 2025
fc1baf3
move qemu tests to ubuntu24
Cyan4973 Feb 11, 2025
75bcae1
removing x32 tests
Cyan4973 Feb 11, 2025
2b7c661
update arm64 test
Cyan4973 Feb 11, 2025
b73e06b
updated FreeBSD VM to 14.2
Cyan4973 Feb 11, 2025
0b8119f
minor arm64 test script clarification
Cyan4973 Feb 11, 2025
85c39b7
faster aarch64 test execution
Cyan4973 Feb 11, 2025
2a58b04
disabled BTI test
Cyan4973 Feb 11, 2025
beccbc6
Merge pull request #4293 from facebook/rip-ubuntu20
Cyan4973 Feb 14, 2025
22c39b9
Merge pull request #4274 from luau-project/intel-compilers
Cyan4973 Feb 14, 2025
c26bde1
update changelog for v1.5.7
Cyan4973 Feb 18, 2025
99a12e6
Merge pull request #4297 from facebook/changelog157
Cyan4973 Feb 18, 2025
5c465fc
harden github actions script Android NDK Build
Cyan4973 Feb 18, 2025
b14d76d
pinned dependency hash
Cyan4973 Feb 18, 2025
ea027ab
Merge pull request #4299 from facebook/ga_harden
Cyan4973 Feb 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 0 additions & 123 deletions .circleci/config.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .circleci/images/primary/Dockerfile

This file was deleted.

7 changes: 3 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
task:
name: FreeBSD (shortest)
name: FreeBSD (make check)
freebsd_instance:
matrix:
image_family: freebsd-14-0
image_family: freebsd-13-2
image_family: freebsd-14-2
install_script: pkg install -y gmake coreutils
script: |
MOREFLAGS="-Werror" gmake -j all
gmake shortest
gmake check
39 changes: 39 additions & 0 deletions .github/workflows/android-ndk-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Android NDK Build

on:
pull_request:
branches: [ dev, release, actionsTest ]
push:
branches: [ actionsTest, '*ndk*' ]

permissions: read-all

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1

- name: Set up JDK 17
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Android SDK
uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3.2.2

- name: Install Android NDK
run: |
sdkmanager --install "ndk;27.0.12077973"
echo "ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/27.0.12077973" >> $GITHUB_ENV
- name: Build with NDK
run: |
export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
make CC=aarch64-linux-android21-clang \
AR=llvm-ar \
RANLIB=llvm-ranlib \
STRIP=llvm-strip
39 changes: 27 additions & 12 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ on:
push:
branches:
- dev
pull_request:
branches:
- dev

permissions: read-all

jobs:
short-tests-0:
runs-on: ubuntu-latest
Expand All @@ -25,8 +30,9 @@ jobs:
make c99build; make clean
make c11build; make clean
make -j regressiontest; make clean
make shortest; make clean
make check; make clean
make cxxtest; make clean
short-tests-1:
runs-on: ubuntu-latest
services:
Expand All @@ -38,17 +44,26 @@ jobs:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install gcc-powerpc-linux-gnu gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu libc6-dev-ppc64-powerpc-cross libcurl4-gnutls-dev lib64gcc-11-dev-powerpc-cross
- name: Test
run: |-
make gnu90build; make clean
make gnu99build; make clean
make ppc64build V=1; make clean
make ppcbuild V=1; make clean
make armbuild V=1; make clean
make aarch64build V=1; make clean
make -C tests test-legacy test-longmatch; make clean
make -C lib libzstd-nomt; make clean
sudo apt-get install gcc-powerpc-linux-gnu gcc-arm-linux-gnueabi gcc-aarch64-linux-gnu libc6-dev-ppc64-powerpc-cross libcurl4-gnutls-dev lib64gcc-13-dev-powerpc-cross
- name: gnu90 build
run: make gnu90build && make clean
- name: gnu99 build
run: make gnu99build && make clean
- name: ppc64 build
run: make ppc64build V=1 && make clean
- name: ppc build
run: make ppcbuild V=1 && make clean
- name: arm build
run: make armbuild V=1 && make clean
- name: aarch64 build
run: make aarch64build V=1 && make clean
- name: test-legacy
run: make -C tests test-legacy V=1 && make clean
- name: test-longmatch
run: make -C tests test-longmatch V=1 && make clean
- name: libzstd-nomt build
run: make -C lib libzstd-nomt V=1 && make clean

regression-test:
runs-on: ubuntu-latest
services:
Expand Down
Loading