Skip to content

fix(ChannelTree): crash if tree isn't inited yet #50

fix(ChannelTree): crash if tree isn't inited yet

fix(ChannelTree): crash if tree isn't inited yet #50

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test-fedora:
name: fedora
runs-on: ubuntu-latest
steps:
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
podman pull fedora:latest
- name: Get source
uses: actions/checkout@v3
with:
path: 'mattermost-qt'
- name: Create container and build
run: |
{
echo 'FROM fedora:latest'
echo 'RUN dnf -y update'
echo 'RUN dnf -y install cmake gcc-c++ make'
echo 'RUN dnf -y install qt5-qtbase-devel qt5-qtwebsockets-devel'
echo 'RUN dnf clean all'
echo 'COPY mattermost-qt mattermost-qt'
echo 'WORKDIR /mattermost-qt/build'
echo 'RUN cmake ..'
echo 'RUN make'
} > podmanfile
podman build --tag fedoralatest -f ./podmanfile
test-ubuntu:
name: ubuntu
runs-on: ubuntu-latest
steps:
- name: Setup dependencies
run: |
sudo apt update
sudo apt-get -y install cmake g++ libqt5websockets5-dev make qtbase5-dev
- name: Get source
uses: actions/checkout@v3
with:
path: 'mattermost-qt'
- name: Create build directory, setup and build
run : |
cd mattermost-qt
mkdir build
cd build
cmake ..
make