-
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 930 Bytes
/
ci.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
name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install non-Python build dependencies (Ubuntu)
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: sudo apt-get -y install gettext
- name: Install non-Python build dependencies (macOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install gettext
- name: Install Python dependencies
run: pip install tox build setuptools chambercourt
- name: Build
run: |
if [ "$RUNNER_OS" != "macOS" ]; then
pip install tox
fi
tox
make build
PYTHONPATH=. python -m wincoll --help
pip install .
wincoll --help