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