From 2bcd658dcbd46f806eb06f0c1669a2487aa3a2a2 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 4 Oct 2026 14:46:13 +0200 Subject: CI: Add build with minimal dependencies --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eab33a0e..baf7b057 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,30 @@ jobs: run: meson compile -C build - name: "Test" run: meson test -C build + build-minimal: + name: "Build with minimal features" + runs-on: ubuntu-24.04 + steps: + - name: "Setup dependencies" + run: | + sudo apt-get update + sudo apt-get remove libunwind-14-dev + sudo apt-get install -y build-essential gettext libadwaita-1-dev libcanberra-dev libgcrypt20-dev libgee-0.8-dev libgtk-4-dev libnice-dev libnotify-dev libsoup-3.0-dev libsqlite3-dev libsrtp2-dev meson valac + - name: "Checkout sources" + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: "Setup matchers" + run: | + echo '::add-matcher::${{ github.workspace }}/.github/matchers/gcc-problem-matcher.json' + echo '::add-matcher::${{ github.workspace }}/.github/matchers/vala-problem-matcher.json' + echo '::add-matcher::${{ github.workspace }}/.github/matchers/meson-problem-matcher.json' + - name: "Configure" + run: meson setup -Domemo=disabled -Drtp=disabled build + - name: "Build" + run: meson compile -C build + - name: "Test" + run: meson test -C build build-vala-nightly: name: "Build with Vala Nightly" runs-on: ubuntu-24.04 -- cgit v1.3 From 2a287442b24d093c5b54a9cf747c60b3819c965e Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 4 Oct 2026 22:23:17 +0200 Subject: CI: Use actions/checkout@v7 --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index baf7b057..41a31571 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: sudo apt-get remove libunwind-14-dev sudo apt-get install -y build-essential gettext libadwaita-1-dev libcanberra-dev libgcrypt20-dev libgee-0.8-dev libgpgme-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgtk-4-dev libnice-dev libnotify-dev libqrencode-dev libomemo-c-dev libsoup-3.0-dev libsqlite3-dev libsrtp2-dev libwebrtc-audio-processing-dev meson valac - name: "Checkout sources" - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: "Setup matchers" @@ -35,7 +35,7 @@ jobs: sudo apt-get remove libunwind-14-dev sudo apt-get install -y build-essential gettext libadwaita-1-dev libcanberra-dev libgcrypt20-dev libgee-0.8-dev libgtk-4-dev libnice-dev libnotify-dev libsoup-3.0-dev libsqlite3-dev libsrtp2-dev meson valac - name: "Checkout sources" - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: "Setup matchers" @@ -71,7 +71,7 @@ jobs: popd rm -rf vala-nightly - name: "Checkout sources" - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: "Setup matchers" @@ -101,7 +101,7 @@ jobs: runs-on: ${{ matrix.variant.runner }} steps: - name: "Checkout sources" - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: "Build" -- cgit v1.3 From 6e4d45201c372fd5c87f1cbdcd1ab6885dc3f611 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 4 Oct 2026 22:27:13 +0200 Subject: CI: Add test with openssl --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41a31571..bf4b7f92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,6 +49,30 @@ jobs: run: meson compile -C build - name: "Test" run: meson test -C build + build-openssl: + name: "Build with OpenSSL" + runs-on: ubuntu-24.04 + steps: + - name: "Setup dependencies" + run: | + sudo apt-get update + sudo apt-get remove libunwind-14-dev + sudo apt-get install -y build-essential gettext libadwaita-1-dev libcanberra-dev libssl-dev libgee-0.8-dev libgpgme-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgtk-4-dev libnice-dev libnotify-dev libqrencode-dev libomemo-c-dev libsoup-3.0-dev libsqlite3-dev libsrtp2-dev libwebrtc-audio-processing-dev meson valac + - name: "Checkout sources" + uses: actions/checkout@v7 + with: + fetch-depth: 0 + - name: "Setup matchers" + run: | + echo '::add-matcher::${{ github.workspace }}/.github/matchers/gcc-problem-matcher.json' + echo '::add-matcher::${{ github.workspace }}/.github/matchers/vala-problem-matcher.json' + echo '::add-matcher::${{ github.workspace }}/.github/matchers/meson-problem-matcher.json' + - name: "Configure" + run: meson setup -Dcrypto-backend=openssl build + - name: "Build" + run: meson compile -C build + - name: "Test" + run: meson test -C build build-vala-nightly: name: "Build with Vala Nightly" runs-on: ubuntu-24.04 -- cgit v1.3 From 9e9f46d820257900a47410ba87c3aac601d0a71e Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 4 Oct 2026 22:30:31 +0200 Subject: CI: Only build variants when main build succeeded --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf4b7f92..cb46bccc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: - name: "Test" run: meson test -C build build-minimal: + needs: build name: "Build with minimal features" runs-on: ubuntu-24.04 steps: @@ -50,6 +51,7 @@ jobs: - name: "Test" run: meson test -C build build-openssl: + needs: build name: "Build with OpenSSL" runs-on: ubuntu-24.04 steps: @@ -74,6 +76,7 @@ jobs: - name: "Test" run: meson test -C build build-vala-nightly: + needs: build name: "Build with Vala Nightly" runs-on: ubuntu-24.04 steps: -- cgit v1.3