mirror of https://github.com/procxx/kepka.git
Save build place on Linux workflow
* This tries to avoid "No space left on device" error. * Remove unneeded build cache directories. * Whenever possible, checkout only one Git commit.
This commit is contained in:
parent
b84b1e71f7
commit
23d958e457
|
@ -122,9 +122,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone $GIT/xiph/opus
|
git clone -b v1.3 --depth=1 $GIT/xiph/opus
|
||||||
cd opus
|
cd opus
|
||||||
git checkout v1.3
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure
|
./configure
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
@ -142,16 +141,20 @@ jobs:
|
||||||
./autogen.sh --enable-static
|
./autogen.sh --enable-static
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf libva
|
||||||
|
|
||||||
- name: Libvdpau.
|
- name: Libvdpau.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone https://gitlab.freedesktop.org/vdpau/libvdpau.git --depth=1 -b libvdpau-1.2
|
git clone -b libvdpau-1.2 --depth=1 https://gitlab.freedesktop.org/vdpau/libvdpau.git
|
||||||
cd libvdpau
|
cd libvdpau
|
||||||
./autogen.sh --enable-static
|
./autogen.sh --enable-static
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf libvdpau
|
||||||
|
|
||||||
- name: FFmpeg cache.
|
- name: FFmpeg cache.
|
||||||
id: cache-ffmpeg
|
id: cache-ffmpeg
|
||||||
|
@ -267,6 +270,8 @@ jobs:
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf ffmpeg
|
||||||
- name: FFmpeg install.
|
- name: FFmpeg install.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
@ -293,18 +298,20 @@ jobs:
|
||||||
./configure
|
./configure
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf portaudio
|
||||||
|
|
||||||
- name: OpenAL Soft.
|
- name: OpenAL Soft.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone $GIT/kcat/openal-soft.git
|
git clone -b openal-soft-1.19.1 --depth=1 $GIT/kcat/openal-soft.git
|
||||||
cd openal-soft
|
cd openal-soft/build
|
||||||
git checkout openal-soft-1.19.1
|
|
||||||
cd build
|
|
||||||
cmake -D LIBTYPE:STRING=STATIC ..
|
cmake -D LIBTYPE:STRING=STATIC ..
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd -
|
||||||
|
rm -rf openal-soft
|
||||||
|
|
||||||
- name: OpenSSL cache.
|
- name: OpenSSL cache.
|
||||||
id: cache-openssl
|
id: cache-openssl
|
||||||
|
@ -317,12 +324,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone $GIT/openssl/openssl openssl_$OPENSSL_VER
|
git clone -b OpenSSL_${OPENSSL_VER}-stable --depth=1 \
|
||||||
cd openssl_$OPENSSL_VER
|
$GIT/openssl/openssl openssl_${OPENSSL_VER}
|
||||||
git checkout OpenSSL_1_1_1-stable
|
cd openssl_${OPENSSL_VER}
|
||||||
./config --prefix=$LibrariesPath/openssl-cache
|
./config --prefix=$LibrariesPath/openssl-cache
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf openssl_${OPENSSL_VER}
|
||||||
- name: OpenSSL install.
|
- name: OpenSSL install.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
@ -333,12 +342,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone $GIT/xkbcommon/libxkbcommon.git
|
git clone -b xkbcommon-0.8.4 --depth=1 $GIT/xkbcommon/libxkbcommon.git
|
||||||
cd libxkbcommon
|
cd libxkbcommon
|
||||||
git checkout xkbcommon-0.8.4
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf libxkbcommon
|
||||||
|
|
||||||
- name: Qt 5.12.5 cache.
|
- name: Qt 5.12.5 cache.
|
||||||
id: cache-qt
|
id: cache-qt
|
||||||
|
@ -351,15 +361,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
||||||
git clone git://code.qt.io/qt/qt5.git qt_$QT
|
git clone -b v5.12.5 --depth=1 git://code.qt.io/qt/qt5.git qt_${QT}
|
||||||
cd qt_$QT
|
cd qt_${QT}
|
||||||
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
|
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
|
||||||
git checkout v5.12.5
|
git submodule update qtbase qtimageformats qtsvg
|
||||||
git submodule update qtbase
|
|
||||||
git submodule update qtimageformats
|
|
||||||
git submodule update qtsvg
|
|
||||||
cd qtbase
|
cd qtbase
|
||||||
git apply ../../patches/qtbase_$QT.diff
|
git apply ../../patches/qtbase_${QT}.diff
|
||||||
cd src/plugins/platforminputcontexts
|
cd src/plugins/platforminputcontexts
|
||||||
git clone $GIT/desktop-app/fcitx.git
|
git clone $GIT/desktop-app/fcitx.git
|
||||||
git clone $GIT/desktop-app/hime.git
|
git clone $GIT/desktop-app/hime.git
|
||||||
|
@ -390,6 +397,8 @@ jobs:
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
rm -rf qt_${QT}
|
||||||
- name: Qt 5.12.5 install.
|
- name: Qt 5.12.5 install.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
@ -440,6 +449,8 @@ jobs:
|
||||||
make -j$(nproc) dump_syms
|
make -j$(nproc) dump_syms
|
||||||
|
|
||||||
mv dump_syms $BreakpadCache/
|
mv dump_syms $BreakpadCache/
|
||||||
|
cd ..
|
||||||
|
rm -rf gyp breakpad
|
||||||
- name: Breakpad install.
|
- name: Breakpad install.
|
||||||
run: |
|
run: |
|
||||||
cd $LibrariesPath
|
cd $LibrariesPath
|
||||||
|
|
Loading…
Reference in New Issue