diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-28 13:08:42 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-28 14:53:14 +0300 |
commit | aac26fe85d2b74beb4b2f4ce687a83969c0de327 (patch) | |
tree | 2736e34e45471a97c00f6ba9e3ed97eb27b31c63 /.gitlab-ci.yml | |
parent | aa78a57a4d254d9928c3f9c3bd441b26cc31c1c6 (diff) |
ci: Use `build` to build Gajim
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73a682675..72a95d96c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,10 @@ test-other: stage: test script: - codespell gajim - - python3 setup.py build - - appstream-util validate build/data/org.gajim.Gajim.appdata.xml + - pip3 install build + - python3 -m build + - python3 ./pep517build/build_metadata.py + - appstream-util validate dist/metadata/org.gajim.Gajim.appdata.xml interruptible: true test-pyright: @@ -77,7 +79,8 @@ build-linux: script: - apt-get update - apt-get install -y python3-nbxmpp-nightly - - python3 setup.py sdist + - pip3 install build + - python3 -m build -s - python3 .ci/debian_build.py "$(find dist/gajim-*)" 1 artifacts: |