Add missing PREFIX to build step #236
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
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: python3 -c "import sys; print(sys.version)" | |
- run: > | |
sudo apt-get update && sudo apt-get install -y | |
flake8 | |
gettext | |
gir1.2-glib-2.0 | |
gir1.2-gtk-4.0 | |
gir1.2-pango-1.0 | |
python3 | |
python3-dev | |
python3-gi | |
python3-pytest | |
qalc | |
xvfb | |
- run: make check | |
- run: xvfb-run py.test-3 . | |
- run: sudo make PREFIX=/usr/local build install clean | |
- run: sudo make DESTDIR=pkg PREFIX=/usr build install clean |