2021-03-04 22:21:49 +00:00
|
|
|
name: Build
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
|
|
build:
|
2022-07-27 18:56:24 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2021-03-04 22:21:49 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2023-03-20 01:13:18 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-03-04 22:21:49 +00:00
|
|
|
- run: sudo apt-get update
|
2022-07-27 18:56:24 +00:00
|
|
|
- run: sudo apt-get remove libunwind-14-dev
|
2024-03-12 15:08:00 +00:00
|
|
|
- run: sudo apt-get install -y build-essential gettext cmake valac libgee-0.8-dev libsqlite3-dev libgtk-4-dev libnotify-dev libgpgme-dev libsoup2.4-dev libgcrypt20-dev libqrencode-dev libnice-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libsrtp2-dev libwebrtc-audio-processing-dev libadwaita-1-dev libsignal-protocol-c-dev libcanberra-dev
|
2021-03-04 22:21:49 +00:00
|
|
|
- run: ./configure --with-tests --with-libsignal-in-tree
|
|
|
|
- run: make
|
|
|
|
- run: build/xmpp-vala-test
|
2023-06-19 12:08:57 +00:00
|
|
|
- run: build/omemo-test
|
2023-03-20 01:13:18 +00:00
|
|
|
build-meson:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- run: sudo apt-get update
|
|
|
|
- run: sudo apt-get remove libunwind-14-dev
|
2023-06-21 22:04:39 +00:00
|
|
|
- run: 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 libsignal-protocol-c-dev libsoup-3.0-dev libsqlite3-dev libsrtp2-dev libwebrtc-audio-processing-dev meson valac
|
2023-03-20 01:13:18 +00:00
|
|
|
- run: meson setup build
|
|
|
|
- run: meson compile -C build
|
2023-04-20 16:36:48 +00:00
|
|
|
build-flatpak:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
container:
|
|
|
|
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
|
|
|
options: --privileged
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-03-15 13:18:55 +00:00
|
|
|
submodules: true
|
2023-04-20 16:36:48 +00:00
|
|
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
|
|
|
with:
|
2023-04-22 14:33:45 +00:00
|
|
|
manifest-path: im.dino.Dino.json
|
|
|
|
build-bundle: false
|