Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meson uninstalled attempt 2 #1793

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: apt-get update
- run: apt-get install -y -qq --no-install-recommends automake autoconf libtool autopoint gettext libglib2.0-dev python-gi-dev libbluetooth-dev iproute2
- run: python3 -m pip install cython mypy pycairo>=1.16.3
- run: ./autogen.sh
- run: apt-get install -y -qq --no-install-recommends meson gettext libglib2.0-dev python3-dev python-gi-dev libbluetooth-dev
- run: python3 -m pip install mypy cython pycairo>=1.16.3
- run: meson --warnlevel 3 --buildtype debug -Druntime_deps_check=false builddebug
- run: ninja -v -C builddebug
- run: python3 -m mypy -p blueman --strict
working-directory:
./builddebug
env:
MYPYPATH: ${{ github.workspace }}/stubs

Expand All @@ -63,9 +66,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: apt-get update
- run: apt-get install -y -qq --no-install-recommends automake autoconf libtool autopoint gettext libglib2.0-dev python-gi-dev libbluetooth-dev iproute2 libgirepository1.0-dev gir1.2-gtk-3.0 gir1.2-nm-1.0 libpulse0 libpulse-mainloop-glib0
- run: apt-get install -y -qq --no-install-recommends meson gettext gettext libglib2.0-dev python-gi-dev libbluetooth-dev iproute2 libgirepository1.0-dev gir1.2-gtk-3.0 gir1.2-nm-1.0 libpulse0 libpulse-mainloop-glib0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gettext got duplicated here.

- run: python3 -m pip install cython pygobject
- run: ./autogen.sh
- run: make -C module
- run: meson --warnlevel 3 --buildtype debug -Druntime_deps_check=false builddebug
- run: ninja -v -C builddebug
- run: touch /dev/rfkill
- run: PYTHONPATH=module/.libs python3 -m unittest
- run: cp -R test builddebug
- run: PYTHONPATH=./module python3 -m unittest
working-directory:
./builddebug
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
notes="${notes//$'\r'/'%0D'}"
echo ::set-output name=NOTES::$notes
id: notes
- run: '[ -n "${{ steps.notes.outputs.NOTES }}" ] || (echo "Failed to parse changelog" && exit 1)'
- run: grep --quiet '^AC_INIT(\[blueman\], \[${{ steps.version.outputs.VERSION }}\]' configure.ac || (echo "Did not find expected verson in configure.ac" && exit 1)
- run: "grep --quiet \"version: '${{ steps.version.outputs.VERSION }}'\" meson.build || (echo 'Did not find expected verson in meson.build' && exit 1)"
- run: sudo apt-get update
- run: sudo apt-get install -y -qq --no-install-recommends automake autoconf libtool autopoint gettext cython3 libglib2.0-dev python3-dev python-gi-dev libbluetooth-dev
- run: CYTHONEXEC=cython3 ./autogen.sh
- run: CYTHONEXEC=cython3 make distcheck
- run: sudo apt-get install -y -qq --no-install-recommends cmake cython3 gcc jq libbluetooth-dev libc6-dev libglib2.0-dev meson python3-dev python-gi-dev xz-utils
- run: meson --warnlevel 3 --buildtype release -Druntime_deps_check=false build
- run: if [[ $(meson introspect --projectinfo build | jq -r .version) != ${{ steps.version.outputs.VERSION }} ]]; then echo "Did not find expected version in configure.ac"; exit 1; fi
- run: ./make_release.sh
- uses: softprops/action-gh-release@v1
with:
draft: true
Expand Down