summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 20 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 693b9b9..df4dab3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,6 +49,8 @@ jobs:
mingw-w64-x86_64-zlib
mingw-w64-x86_64-gtkmm3
mingw-w64-x86_64-libhandy
+ mingw-w64-x86_64-opus
+ mingw-w64-x86_64-libsodium
- name: Setup MSYS2 (2)
uses: msys2/setup-msys2@v2
@@ -57,10 +59,20 @@ jobs:
update: true
install: ${{ steps.setupmsys.outputs.value }}
- - name: Build
- run: |
- cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }}
- cmake --build build
+ - name: Build (1)
+ uses: haya14busa/action-cond@v1
+ id: buildcmd
+ with:
+ cond: ${{ matrix.mindeps == true }}
+ if_true: |
+ cmake -GNinja -Bbuild -DUSE_LIBHANDY=OFF -DENABLE_VOICE=OFF -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }}
+ cmake --build build
+ if_false: |
+ cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }}
+ cmake --build build
+
+ - name: Build (2)
+ run: ${{ steps.buildcmd.outputs.value }}
- name: Setup Artifact
run: |
@@ -119,6 +131,8 @@ jobs:
brew install gtkmm3
brew install nlohmann-json
brew install jpeg
+ brew install opus
+ brew install libsodium
- name: Build
uses: lukka/run-cmake@v3
@@ -168,6 +182,8 @@ jobs:
sudo make install
sudo apt-get install libgtkmm-3.0-dev
sudo apt-get install libcurl4-gnutls-dev
+ sudo apt-get install libopus-dev
+ sudo apt-get install libsodium-dev
- name: Build
uses: lukka/run-cmake@v3