forked from PyTables/PyTables
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.49 KB
/
ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ubuntu
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
# Please try to use as many packages as possible from Ubuntu APT repos,
# and as few as possible from PyPI,
# as the purpose here is to test against system packages.
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Install APT packages
run: |
sudo apt-get update
sudo apt install -y \
libhdf5-dev libblosc-dev libblosc2-dev libbz2-dev liblz4-dev \
liblzo2-dev libsnappy-dev libzstd-dev zlib1g-dev \
python3-all-dev python3-pip python3-build python3-setuptools cython3 \
python3-numpy python3-packaging python3-cpuinfo python3-numexpr \
python3-typing-extensions \
python3-pytest python3-pytest-doctestplus \
python3-sphinx python3-sphinx-rtd-theme python3-numpydoc python3-ipython \
latexmk texlive-fonts-recommended texlive-latex-recommended \
texlive-latex-extra texlive-plain-generic
- name: Build PyTables
run: make build
env:
PYTABLES_NO_EMBEDDED_LIBS: TRUE
- name: Build HTML documentation
run: make html
- name: Build LaTeX documentation
run: make latex
- name: Source distribution
run: make dist
- name: Test
run: make check