-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We just made main the 0.15.2 release. Let's merge it into the 0.15 branch so that branch is current.
- Loading branch information
Showing
65 changed files
with
10,053 additions
and
5,407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[target.x86_64-apple-darwin] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '13 4 * * *' | ||
jobs: | ||
linux: | ||
runs-on: 'ubuntu-20.04' | ||
env: | ||
# Make all compile warnings fatal. | ||
ZSTD_WARNINGS_AS_ERRORS: '1' | ||
# Activate Python development mode so we get warnings. | ||
PYTHONDEVMODE: '1' | ||
|
||
steps: | ||
- name: System Setup | ||
run: | | ||
sudo apt-get install -y libzstd1 libzstd-dev python3-cffi | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
python setup.py --system-zstd install | ||
macOS: | ||
runs-on: 'macos-10.15' | ||
env: | ||
# Make all compile warnings fatal. | ||
ZSTD_WARNINGS_AS_ERRORS: '1' | ||
# Activate Python development mode so we get warnings. | ||
PYTHONDEVMODE: '1' | ||
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: System Setup | ||
run: | | ||
brew install -v zstd | ||
python -m pip install cffi | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
python setup.py --system-zstd install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '13 4 * * *' | ||
jobs: | ||
wheel: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- 'ubuntu-20.04' | ||
- 'macos-10.15' | ||
- 'windows-2019' | ||
py: | ||
- 'pypy-3.6' | ||
- 'pypy-3.7' | ||
arch: | ||
- 'x86' | ||
- 'x64' | ||
exclude: | ||
- os: 'ubuntu-20.04' | ||
arch: 'x86' | ||
- os: 'macos-10.15' | ||
arch: 'x86' | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
# Make all compile warnings fatal. | ||
ZSTD_WARNINGS_AS_ERRORS: '1' | ||
# Activate Python development mode so we get warnings. | ||
PYTHONDEVMODE: '1' | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.py }} | ||
architecture: ${{ matrix.arch }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
python setup.py install | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- 'ubuntu-20.04' | ||
- 'macos-10.15' | ||
- 'windows-2019' | ||
py: | ||
- 'pypy-3.6' | ||
- 'pypy-3.7' | ||
arch: | ||
- 'x86' | ||
- 'x64' | ||
exclude: | ||
- os: 'ubuntu-20.04' | ||
arch: 'x86' | ||
- os: 'macos-10.15' | ||
arch: 'x86' | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
# Enable fuzzing tests, other expensive tests. | ||
ZSTD_SLOW_TESTS: '1' | ||
# Make all compile warnings fatal. | ||
ZSTD_WARNINGS_AS_ERRORS: '1' | ||
# More thorough fuzzing coverage. | ||
HYPOTHESIS_PROFILE: 'ci' | ||
# Activate Python development mode so we get warnings. | ||
PYTHONDEVMODE: '1' | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.py }} | ||
architecture: ${{ matrix.arch }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Dependencies | ||
run: | | ||
pip install --require-hashes -r ci/requirements.pypy.txt | ||
- name: Build | ||
run: | | ||
python setup.py develop | ||
- name: Test | ||
run: | | ||
pytest --numprocesses=auto -v tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.