Skip to content

Merge branch 'master' of https://github.com/thayakawa-gh/SlackLogViewer #34

Merge branch 'master' of https://github.com/thayakawa-gh/SlackLogViewer

Merge branch 'master' of https://github.com/thayakawa-gh/SlackLogViewer #34

Workflow file for this run

name: ubuntu
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.5.3'
target: 'desktop'
dir: '${{github.workspace}}/qt/'
modules: qtwebengine qtwebchannel qtpositioning qt5compat
- name: Install QuaZIP
run: |
mkdir -p quazip_1.4
cd quazip_1.4
git clone https://github.com/stachenov/quazip.git
git -C quazip checkout 9d3aa3ee948c1cde5a9f873ecbc3bb229c1182ee
mkdir 'build'
mkdir 'installed'
cmake -S quazip -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
cmake --install build --prefix installed
cd ..
- name: Build
env:
CMAKE_PREFIX_PATH: ${{github.workspace}}/quazip_1.4/installed/lib/cmake
run: |
cd SlackLogViewer
mkdir build
mkdir SlackLogViewer_ubuntu
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../SlackLogViewer_ubuntu -DQT_MAJOR_VERSION=6
make -j4
make install
- name: Upload
uses: actions/upload-artifact@v2
with:
name: ubuntu
path: SlackLogViewer/SlackLogViewer_ubuntu