W. Felix Handte
698af84fcf
Add CI Test for Excluding Matchfinders
2023-05-04 12:18:58 -04:00
dependabot[bot] and GitHub
803e65f935
Bump actions/checkout from 3.5.0 to 3.5.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/8f4b7f84864484a7bf31766abe9204da3cbe65b3...8e5e7e5ab8b370d6c329ec480221332ada57f0ab )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-17 06:02:27 +00:00
dependabot[bot] and GitHub
d9582a0cb8
Bump cygwin/cygwin-install-action from 3 to 4
...
Bumps [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action ) from 3 to 4.
- [Release notes](https://github.com/cygwin/cygwin-install-action/releases )
- [Commits](https://github.com/cygwin/cygwin-install-action/compare/f5e0f048310c425e84bc789f493a828c6dc80a25...006ad0b0946ca6d0a3ea2d4437677fa767392401 )
---
updated-dependencies:
- dependency-name: cygwin/cygwin-install-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-10 06:00:18 +00:00
Yann Collet
0f77956bcc
added a Clang-CL Windows test to CI
...
If I understand correctly,
this should trigger the issue notified in #3569 .
2023-03-28 22:06:18 -07:00
dependabot[bot] and GitHub
4cf9c7e098
Bump actions/checkout from 3.3.0 to 3.5.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/ac593985615ec2ede58e132d2e21d2b1cbd6127c...8f4b7f84864484a7bf31766abe9204da3cbe65b3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-27 06:06:05 +00:00
W. Felix Handte
1ec556238e
Pin Moar Action Dependencies
...
An offering to the Scorecard gods, may they have mercy on our souls.
2023-03-09 12:54:07 -05:00
Dimitri Papadopoulos
547794ef40
Fix typos found by codespell
2023-02-18 10:31:48 +01:00
Yonatan Komornik and GitHub
6a86db11a4
CI workflow to test external compressors dependencies
...
Implemented CI workflow for testing compilation with external compressors and without them. This serves as a sanity check to avoid any code dependencies on libraries that may not always be present. (Reference: #3497 for a bug fix related to this issue.)
2023-02-13 18:00:13 -08:00
Yonatan Komornik and GitHub
727d03161f
Make Github workflows permissions read-only by default ( #3488 )
...
* Make Github workflows permissions read-only by default
* Pins `skx/github-action-publish-binaries` action to specific hash
2023-02-13 16:57:05 -08:00
Yonatan Komornik and GitHub
c78f434aa4
Fix zstd-dll build missing dependencies ( #3496 )
...
* Fixes zstd-dll build (https://github.com/facebook/zstd/issues/3492 ):
- Adds pool.o and threading.o dependency to the zstd-dll target
- Moves custom allocation functions into header to avoid needing to add dependency on common.o
- Adds test target for zstd-dll
- Adds github workflow that buildis zstd-dll
2023-02-12 12:32:31 -08:00
Elliot Gorokhovsky and GitHub
a7de1d9f49
Fix all MSVC warnings ( #3495 )
...
* fix and test MSVC AVX2 build
* treat msbuild warnings as errors
* fix incorrect MSVC 2019 compiler warning
* fix MSVC error D9035: option 'Gm' has been deprecated and will be removed in a future release
2023-02-11 10:56:59 -05:00
dependabot[bot] and GitHub
35835f4126
Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.12.1
...
Bumps [ilammy/msvc-dev-cmd](https://github.com/ilammy/msvc-dev-cmd ) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/ilammy/msvc-dev-cmd/releases )
- [Commits](https://github.com/ilammy/msvc-dev-cmd/compare/7315a94840631165970262a99c72cfb48a65d25d...cec98b9d092141f74527d0afa6feb2af698cfe89 )
---
updated-dependencies:
- dependency-name: ilammy/msvc-dev-cmd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-06 05:12:10 +00:00
Felix Handte and GitHub
772229afd5
Merge pull request #3442 from felixhandte/pgo-tests
...
Test PGO Builds
2023-01-20 19:18:51 -05:00
W. Felix Handte
aab3dd4312
Add PGO Build Jobs to CI
2023-01-20 18:37:04 -05:00
Yann Collet and GitHub
bb9b9bc7be
Merge pull request #3431 from facebook/cygwin
...
added cygwin tests to Github Actions
2023-01-20 14:07:25 -08:00
Yann Collet
cd272d7a2d
added cygwin tests to github actions
2023-01-19 17:43:43 -08:00
Yann Collet
ea684c335a
added c89 build test to CI
2023-01-19 14:59:30 -08:00
Elliot Gorokhovsky and GitHub
018b68f332
fix msys2 symlink breakage in CI ( #3429 )
2023-01-17 12:10:15 -05:00
Elliot Gorokhovsky and GitHub
4f7183d887
Completely overhaul Windows CI ( #3410 )
...
* Overhaul windows CI
* upgrade setup-msbuild from v1.1.3 to v1.3
* remove cmake 2019 test
* fix 32-bit gcc mingw test
* merge conflict
2023-01-11 16:29:23 -05:00
dependabot[bot] and GitHub
6f17a5d8df
Bump actions/checkout from 3.2.0 to 3.3.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/755da8c3cf115ac066823e79a1e1788f8940201b...ac593985615ec2ede58e132d2e21d2b1cbd6127c )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-09 05:10:46 +00:00
Nick Terrell and Nick Terrell
40a7188130
Fix make clangbuild & add CI
...
Fix the errors for:
* `-Wdocumentation`
* `-Wconversion` except `-Wsign-conversion`
2022-12-21 17:31:04 -08:00
W. Felix Handte
150aa23ef4
Pin Remaining Action Dependencies (Except OSS-Fuzz)
...
The one that isn't pinned is the OSS-Fuzz builder and runner. They don't
offer tagged releases. I could pin to the current master commit, but I'm not
sure how desirable that is.
2022-12-20 17:10:01 -05:00
W. Felix Handte
e3f2c8b11c
Pin actions/checkout Dependency to Specific Commit Hash
...
It's a bit silly, because if we can't trust GitHub, what are we doing here?
But OSSF complains about it, so let's fix it.
2022-12-20 14:53:12 -05:00
Eli Schwartz and Nick Terrell
67cd24b25b
CI: build contrib directory on meson-windows
2022-12-19 14:09:43 -08:00
Eli Schwartz and Nick Terrell
3cee69a1cc
CI: build programs on meson-windows too
2022-12-19 14:09:43 -08:00
Yonatan Komornik
3867c41552
meson: Fix Windows CI test by pulling a more recent version msvc-dev-cmd
2022-12-17 10:33:49 -08:00
Yonatan Komornik and GitHub
ce61cb836d
Merge pull request #3120 from eli-schwartz/meson-fixup
...
Meson test fixups
2022-12-16 18:28:54 -08:00
Nick Terrell and Nick Terrell
0c42424a1e
[build] Fix ZSTD_LIB_MINIFY build option
...
`ZSTD_LIB_MINIFY` broke in 8bf699aa59 .
This commit fixes the macro and the static library shrinks from ~600K to 324K
with ZSTD_LIB_MINIFY set.
Fixes #3066 .
2022-12-16 12:55:05 -08:00
Nick Terrell and Nick Terrell
58508398f4
[CI] Re-enable versions-test
...
It seems like with the deletion of Travis CI we didn't successfully transfer the
version compatibility test. Attempt to enable the version compatibility test.
2022-12-16 12:04:21 -08:00
Eli Schwartz
937e9d3b62
meson: add Windows CI
...
There are a couple of oddities here. We don't attempt to build e.g.
contrib, because that doesn't seem to work at the moment. Also notice
that each command is its own step. This happens because github actions
runs in powershell, which doesn't seem to let you abort on the first
failure.
2022-12-16 14:35:22 -05:00
Eli Schwartz
7f29c1847d
meson: add Linux CI
...
Travis is no longer run, but this wasn't ported to something else.
2022-12-16 14:27:47 -05:00
Yann Collet
d081d98ae7
Fix m68k CI tests on Github Actions
...
seems there is a bug in the qemu version shipped with Ubuntu 22.04
2022-12-13 12:36:53 -08:00
dependabot[bot] and GitHub
91c7547fb5
Bump microsoft/setup-msbuild from 1.0.2 to 1.1.3
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1.0.2 to 1.1.3.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/master/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.0.2...v1.1.3 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-08 18:39:49 +00:00
Elliot Gorokhovsky
3f0b912a80
Fix gcc-7 and gcc-8 CI breakages
2022-12-02 16:35:17 -05:00
Andrea Pappacoda
966ac9d200
ci: test pkg-config file
...
As mentioned in
https://github.com/facebook/zstd/pull/3252#issuecomment-1251733791 ,
this patch adds a CI job that builds and installs libzstd on the job
runner, and then compiles a sample binary linking against the installed
library; the needed build flags are passed by invoking pkg-config.
2022-09-20 22:23:03 +02:00
Dimitri Papadopoulos
b1b1e3aa53
Update GitHub Actions
2022-09-20 09:17:29 +02:00
Yann Collet
c0b46738b4
streamline make clean list maintenance
...
When creating a new `Makefile` target to build,
it's also necessary to update the `clean` target,
which purpose is to remove built targets when they are present.
This process is simple, but it's also easy to forget :
since there is a large distance between the position in the `Makefile` where the new built target is added,
and the place where the list of files to `clean` is defined.
Moreover, the list of files becomes pretty long over time,
hence it's difficult to visually ensure that all built targets are present there,
or that no old target (no longer produced) is no longer in the list
This PR tries to improve this process by adding a CLEAN variable.
Now, when a new built target is added to the `Makefile`,
it should preceded by :
```
CLEAN += newTarget
newTarget:
<TAB> ...recipe...
```
This new requirement is somewhat similar to `.PHONY: newTarget` for non-built targets.
This new method offers the advantage of locality :
there is no separate place in the file to maintain a list of files to clean.
This makes maintenance of `make clean` easier.
2022-09-07 16:36:03 -07:00
Elliot Gorokhovsky and GitHub
3e6bbdd847
Disable visual-2015 tests ( #3106 )
2022-03-31 12:26:20 -04:00
Elliot Gorokhovsky
9caabc01c4
Replace "windows-latest" with "windows-2019" in CI workflows
2022-02-09 15:45:43 -05:00
W. Felix Handte
7cf80cb94c
Add GitHub Action Checking that Zstd Runs Successfully Under CET
2022-01-20 11:25:52 -05:00
Yann Collet and GitHub
a9e43b37d0
Revert "Limit ZSTD_maxCLevel to 21 for 32-bit binaries."
2021-12-20 11:43:14 -08:00
Yann Collet
c94cda283c
added x32 compatibility test
2021-12-10 20:56:20 -08:00
Nick Terrell and GitHub
647c1b6615
Merge pull request #2900 from terrelln/issue-2893-test
...
[CI] Add cmake windows build
2021-12-02 19:51:33 -05:00
Nick Terrell
a74a36985a
[CI] Add cmake windows build
...
Build on windows with cmake to ensure everything compiles.
2021-12-02 15:23:33 -08:00
Yann Collet
ffbdc8ac57
m68k CI tests on GA are now compulsory
2021-12-02 10:30:04 -08:00
Yann Collet and GitHub
8031dc7a48
Merge pull request #2885 from yoniko/limit-level-32bit-systems
...
Limit `ZSTD_maxCLevel` to 21 for 32-bit binaries.
2021-12-01 14:19:16 -08:00
Nick Terrell
360c2630e4
[test] Test that the exec-stack bit isn't set on libzstd.so
...
Tests that libzstd.so doesn't have the exec-stack bit set using
readelf. If the stack is marked executable systemd will refuse
to link against zstd. We now test that it isn't set on every PR.
Adds a test for PR #2857
Fixes Issue #2865
2021-11-30 18:13:00 -08:00
Yonatan Komornik
ef2cba609d
ZSTD_maxCLevel now limited to 21 for 32-bit binaries.
...
CI tests for constrained memory runs with max level on 32-bit binaries.
2021-11-30 10:31:52 -08:00
sen and GitHub
9bc94b2929
Merge pull request #2845 from senhuang42/appveyor_msvc2
...
Move visual studio tests from per-release to per-PR
2021-11-30 13:12:08 -05:00
senhuang42
0907ab5f15
Add GH Actions windows runtime test
2021-11-29 18:25:19 -05:00