aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml57
1 files changed, 54 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index eab33a0e..cb46bccc 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"
@@ -25,7 +25,58 @@ jobs:
run: meson compile -C build
- name: "Test"
run: meson test -C build
+ build-minimal:
+ needs: build
+ 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@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 -Domemo=disabled -Drtp=disabled build
+ - name: "Build"
+ run: meson compile -C build
+ - name: "Test"
+ run: meson test -C build
+ build-openssl:
+ needs: build
+ 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:
+ needs: build
name: "Build with Vala Nightly"
runs-on: ubuntu-24.04
steps:
@@ -47,7 +98,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"
@@ -77,7 +128,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"