[Scummvm-git-logs] scummvm master -> bf0ce728819b477562a106bd05c2d30e73c9060d

sev- noreply at scummvm.org
Mon Jul 15 00:58:48 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bf0ce72881 CI: Use Discord RPC lib in Ubuntu runners


Commit: bf0ce728819b477562a106bd05c2d30e73c9060d
    https://github.com/scummvm/scummvm/commit/bf0ce728819b477562a106bd05c2d30e73c9060d
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-07-15T02:58:45+02:00

Commit Message:
CI: Use Discord RPC lib in Ubuntu runners

Changed paths:
    .github/workflows/ci.yml


diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5d8d78a92de..47fedd6f38e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -161,10 +161,12 @@ jobs:
             sdlConfig: sdl2-config
             cxx: ccache g++
             aptPackages: 'liba52-dev libcurl4-openssl-dev libfaad-dev libflac-dev libfluidsynth-dev libfreetype6-dev libfribidi-dev libgif-dev libgtk-3-dev libjpeg-turbo8-dev libmad0-dev libmikmod-dev libmpeg2-4-dev libogg-dev libpng-dev libsdl2-dev libsdl2-net-dev libsndio-dev libspeechd-dev libtheora-dev libunity-dev libvorbis-dev libvpx-dev zlib1g-dev'
+            configFlags: --enable-discord --with-discord-prefix=/usr/local
           - platform: ubuntu-20.04
             sdlConfig: sdl-config
             cxx: ccache g++-4.8
             aptPackages: 'g++-4.8 liba52-dev libcurl4-openssl-dev libfaad-dev libflac-dev libfluidsynth-dev libfreetype6-dev libfribidi-dev libgif-dev libgtk-3-dev libjpeg-turbo8-dev libmad0-dev libmikmod-dev libmpeg2-4-dev libogg-dev libpng-dev libsdl-net1.2-dev libsdl1.2-dev libsndio-dev libspeechd-dev libtheora-dev libunity-dev libvorbis-dev libvpx-dev zlib1g-dev'
+            configFlags: --enable-discord --with-discord-prefix=/usr/local
     env:
       SDL_CONFIG: ${{ matrix.sdlConfig }}
     defaults:
@@ -183,6 +185,12 @@ jobs:
         run: |
           sudo apt-get update
           sudo apt-get install ${{ matrix.aptPackages }}
+      - name: Download and install Discord RPC libraries
+        run: |
+          curl -L -o discord-rpc-linux.zip https://github.com/discord/discord-rpc/releases/download/v3.4.0/discord-rpc-linux.zip
+          echo 'dac1f5dc6bedaeab1cc3c2c7fd4261e00838c81619c3ee325f3723c3d55ee03a discord-rpc-linux.zip' | sha256sum --check && unzip discord-rpc-linux.zip
+          sudo cp -v -pR discord-rpc/linux-dynamic/include/*.* /usr/local/include/
+          sudo cp -v -pR discord-rpc/linux-dynamic/lib/*.* /usr/local/lib/
       - name: ccache
         uses: hendrikmuhs/ccache-action at v1.2
         with:




More information about the Scummvm-git-logs mailing list