diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b886ef0..2c2ead1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: Abaddon CI -on: [push, pull_request] +on: [ push, pull_request ] jobs: msys2: @@ -8,8 +8,8 @@ jobs: runs-on: windows-latest strategy: matrix: - buildtype: [Debug, RelWithDebInfo, MinSizeRel] - mindeps: [false] + buildtype: [ Debug, RelWithDebInfo, MinSizeRel ] + mindeps: [ false ] include: - buildtype: RelWithDebInfo mindeps: true @@ -37,6 +37,7 @@ jobs: mingw-w64-x86_64-curl mingw-w64-x86_64-zlib mingw-w64-x86_64-gtkmm3 + mingw-w64-x86_64-spdlog if_false: >- git make @@ -49,6 +50,9 @@ 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 + mingw-w64-x86_64-spdlog - name: Setup MSYS2 (2) uses: msys2/setup-msys2@v2 @@ -63,13 +67,13 @@ jobs: with: cond: ${{ matrix.mindeps == true }} if_true: | - cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} -DUSE_LIBHANDY=OFF + cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} -DUSE_LIBHANDY=OFF -DENABLE_VOICE=OFF cmake --build build if_false: | cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.buildtype }} cmake --build build - - name: Build (2) + - name: Build (2) }} run: ${{ steps.build.outputs.value }} - name: Setup Artifact @@ -115,7 +119,7 @@ jobs: runs-on: macos-latest strategy: matrix: - buildtype: [Debug, RelWithDebInfo] + buildtype: [ Debug, RelWithDebInfo ] steps: - uses: actions/checkout@v1 with: @@ -129,6 +133,9 @@ jobs: brew install gtkmm3 brew install nlohmann-json brew install jpeg + brew install opus + brew install libsodium + brew install spdlog brew install libhandy - name: Build @@ -152,10 +159,10 @@ jobs: linux: name: linux-${{ matrix.buildtype }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: - buildtype: [Debug, RelWithDebInfo, MinSizeRel] + buildtype: [ Debug, RelWithDebInfo, MinSizeRel ] steps: - uses: actions/checkout@v1 with: @@ -179,6 +186,9 @@ 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 + sudo apt-get install libspdlog-dev sudo apt-get install libhandy-1-dev - name: Build |