Use the same Opus version as static binary

Use Ninja generator

Debug build in the test AppImage action should be used
This commit is contained in:
Ilya Fedin 2020-05-11 11:19:04 +04:00
parent 2a83323c7f
commit fc5529d4bc

View file

@ -101,7 +101,7 @@ jobs:
sudo apt-get update && \
sudo apt-get install libice-dev libsm-dev libicu-dev liblzma-dev zlib1g-dev \
git wget autoconf automake build-essential libtool pkg-config bison \
libopus-dev libasound2-dev libpulse-dev portaudio19-dev libdrm-dev libfuse2 \
libasound2-dev libpulse-dev portaudio19-dev libdrm-dev libfuse2 \
libgtk-3-dev libgtk2.0-dev libatspi2.0-dev libgl1-mesa-dev libegl1-mesa-dev \
libffi-dev libxcb1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-xfixes0-dev \
libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev \
@ -264,6 +264,27 @@ jobs:
cd ../..
rm -rf dav1d
- name: Opus cache.
id: cache-opus
uses: actions/cache@v1
with:
path: ${{ env.LibrariesPath }}/opus
key: ${{ runner.OS }}-opus-${{ env.CACHE_KEY }}
- name: Opus.
if: steps.cache-opus.outputs.cache-hit != 'true'
run: |
cd $LibrariesPath
git clone -b v1.3 --depth=1 $GIT/xiph/opus
cd opus
./autogen.sh
./configure
make -j$(nproc)
- name: Opus install.
run: |
cd $LibrariesPath/opus
sudo make install
- name: FFmpeg cache.
id: cache-ffmpeg
uses: actions/cache@v1
@ -541,14 +562,16 @@ jobs:
fi
./configure.sh \
-GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS="-s" \
-DTDESKTOP_API_TEST=ON \
-DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF \
-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=OFF \
$DEFINE
cd ../out/Release
cd ../out/Debug
cmake --build . -- -j$(nproc)
DESTDIR=../../AppDir cmake --install .