Skip to content

Commit 76582d6

Browse files
authored
Speed up workflow (#22)
* Combined all workflows and used system wxPython
1 parent 065edf2 commit 76582d6

File tree

3 files changed

+14
-26
lines changed

3 files changed

+14
-26
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,20 @@ on: [push, workflow_dispatch]
33

44
jobs:
55
build:
6-
name: build on ubuntu-22.04
6+
name: Lint, install and package on amd64/archlinux:base
77
runs-on: ubuntu-22.04
8+
container: amd64/archlinux:base
89
steps:
910
- uses: actions/checkout@v4
10-
- run: pipx install hatch
11-
- run: hatch build
11+
- run: |
12+
pacman -Syu --needed --noconfirm python-pipx python-wxpython
13+
pipx install hatch
14+
pipx ensurepath
15+
name: Install dependencies
16+
# Use the full path because Hatch is not found for some reason.
17+
- run: ~/.local/bin/hatch fmt --check
18+
name: Lint
19+
- run: ~/.local/bin/hatch -vv env create dev
20+
name: Create editable installation
21+
- run: ~/.local/bin/hatch build
22+
name: Package into tarball and wheel

.github/workflows/install.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)