Use separate labels for status and header #47
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: 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 |