Fix multi-byte filename #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Build Tests | |
on: | |
push: | |
branches-ignore: | |
- master | |
- release | |
- gha | |
- Qt4 | |
- Qt4-dev | |
tags-ignore: '*' | |
paths-ignore: '/.github/workflows/release.yml' | |
pull_request: | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
#continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "CMake : WebKit + KF5", | |
os: ubuntu-20.04, | |
packages: qt5-default libqt5webkit5-dev extra-cmake-modules libkf5kdelibs4support-dev gettext, | |
xmake: "cmake -DUSE_KF5=ON -DUSE_STATIC_CHMLIB=ON ." | |
} | |
- { | |
name: "CMake : WebEngine + KF5", | |
os: ubuntu-20.04, | |
packages: qt5-default qtwebengine5-dev extra-cmake-modules libkf5kdelibs4support-dev gettext, | |
xmake: "cmake -DUSE_KF5=ON -DUSE_STATIC_CHMLIB=ON -DUSE_WEBENGINE=ON ." | |
} | |
- { | |
name: "qmake : WebKit + Qt5", | |
os: ubuntu-20.04, | |
packages: qt5-default libqt5webkit5-dev, | |
xmake: 'qmake -r "USE_STATIC_CHMLIB=1"' | |
} | |
- { | |
name: "qmake : WebEngine + Qt5", | |
os: ubuntu-20.04, | |
packages: qt5-default qtwebengine5-dev, | |
xmake: 'qmake -r "USE_STATIC_CHMLIB=1" "USE_WEBENGINE=1"' | |
} | |
- { | |
name: "CMake : WebKit + Qt5", | |
os: ubuntu-20.04, | |
packages: qt5-default libqt5webkit5-dev, | |
xmake: "cmake -DUSE_STATIC_CHMLIB=ON ." | |
} | |
- { | |
name: "CMake : WebEngine + Qt5", | |
os: ubuntu-20.04, | |
packages: qt5-default qtwebengine5-dev, | |
xmake: "cmake -DUSE_STATIC_CHMLIB=ON -DUSE_WEBENGINE=ON ." | |
} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Build & install libzip | |
shell: bash | |
run: | | |
cd ../ | |
git clone https://github.com/nih-at/libzip.git | |
cd libzip | |
git checkout v1.7.3 | |
mkdir build | |
cd build | |
cmake .. | |
cmake --build . --config Release | |
sudo cmake --install . --config Release | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install ${{ matrix.config.packages }} -y | |
shell: bash | |
- name: Setup build | |
run: ${{ matrix.config.xmake }} | |
- name: Build | |
run: make |