Debian Codegraph @

.github/workflows/external-zstd.yml

raw
1 on:
2 push:
3 pull_request:
4 schedule:
5 - cron: '30 13 * * *'
6 permissions: { }
7 jobs:
8 linux:
9 runs-on: 'ubuntu-22.04'
10 env:
11 # Make all compile warnings fatal.
12 ZSTD_WARNINGS_AS_ERRORS: '1'
13 # Activate Python development mode so we get warnings.
14 PYTHONDEVMODE: '1'
15
16 steps:
17 - name: System Setup
18 run: |
19 sudo apt-get install -y libzstd1 libzstd-dev python3-cffi
20
21 - name: Set up Python
22 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23 with:
24 python-version: '3.9'
25
26 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
27 with:
28 persist-credentials: false
29
30 - name: Build
31 run: |
32 python -m pip install --config-settings=--global-option=--system-zstd .
33
34 macOS:
35 runs-on: 'macos-13'
36 env:
37 # Make all compile warnings fatal.
38 ZSTD_WARNINGS_AS_ERRORS: '1'
39 # Activate Python development mode so we get warnings.
40 PYTHONDEVMODE: '1'
41
42 steps:
43 - name: Set up Python
44 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
45 with:
46 python-version: '3.9'
47
48 - name: System Setup
49 run: |
50 brew install -v zstd
51 python -m pip install cffi
52
53 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
54 with:
55 persist-credentials: false
56
57 - name: Build
58 run: |
59 python -m pip install --config-settings=--global-option=--system-zstd .