From 5d827d5a24e74acb96e4e0030cc2ca96a9fccd9f Mon Sep 17 00:00:00 2001 From: yifang Date: Sat, 12 Feb 2022 09:07:28 +0800 Subject: [PATCH] action:ubuntu update opencc version to latest --- .github/workflows/ubuntu.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 1d8c458e..320e4bc0 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -46,16 +46,20 @@ jobs: sudo apt-get install qtdeclarative5-dev libxtst-dev liblzo2-dev libbz2-dev sudo apt-get install libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev sudo apt-get install libqt5webkit5-dev libqt5svg5-dev libqt5x11extras5-dev qttools5-dev - sudo apt-get install qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libopencc-dev libzstd-dev + sudo apt-get install qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libzstd-dev #libopencc-dev sudo ln -sf /usr/bin/x86_64-linux-gnu-ld.gold /usr/bin/ld + git clone https://github.com/BYVoid/OpenCC + pwd + cd OpenCC/ + pwd + make PREFIX=/usr -j$(nproc) + sudo make install + cd .. + pwd #print current directory - uses: actions/checkout@v2 with: fetch-depth: 1 - # - name: build singleapplication - # run: | - # cd qtsingleapplication - # qmake - # make + - name: build goldendict run: | qmake CONFIG+=release PREFIX=/usr CONFIG+=zim_support CONFIG+=chinese_conversion_support