summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Wolf <aw@altspu.ru>2024-02-26 16:12:32 +0700
committerAlexander V. Wolf <aw@altspu.ru>2024-02-26 16:12:32 +0700
commit6704e561a1190fddee38481ed2f44c5f1375c5cd (patch)
tree11230fb0268cc2b55f6685ee1cca5b18845628e7
parentc18717e2b45ecadf3c10083129de9fce5dcb1f68 (diff)
[skip ci] OK, remove extra CI
-rw-r--r--.github/workflows/ci-more.yml114
-rw-r--r--.github/workflows/ci-unix.yml148
2 files changed, 0 insertions, 262 deletions
diff --git a/.github/workflows/ci-more.yml b/.github/workflows/ci-more.yml
deleted file mode 100644
index 557843b8df..0000000000
--- a/.github/workflows/ci-more.yml
+++ /dev/null
@@ -1,114 +0,0 @@
-#
-# Implementation of Continuous Integration process for linux and macOS by Github actions (with extra additionals...)
-# See https://github.com/actions/runner-images
-#
-name: "CI"
-
-on:
- push:
- pull_request:
- # The branches below must be a subset of the branches above
- branches: [master]
-
-jobs:
- ci-linux-qt5:
- strategy:
- matrix:
- arch: [armv7, aarch64, riscv64]
- name: "Linux (${{ matrix.arch }}; qt5)"
- runs-on: ubuntu-22.04
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex') && contains(github.event.head_commit.message, '[qt5]')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests
- uses: uraimo/run-on-arch-action@v2
- id: build-qt5
- with:
- arch: ${{ matrix.arch }}
- distro: ubuntu22.04
-
- # Not required, but speeds up builds by storing container images in
- # a GitHub package registry.
- githubToken: ${{ github.GITHUB_TOKEN }}
-
- # The shell to run commands with in the container
- shell: /bin/bash
-
- # Install some dependencies in the container. This speeds up builds if
- # you are also using githubToken. Any dependencies installed here will
- # be part of the container image that gets cached, so subsequent
- # builds don't have to re-install them. The image layer is cached
- # publicly in your project's package repository, so it is vital that
- # no secrets are present in the container state or logs.
- install: |
- # Update installed packages
- apt update -y
- ACCEPT_EULA=Y apt upgrade -o Dpkg::Options::="--force-overwrite" --yes
- # Installing dependencies
- apt install -y qtbase5-private-dev qtscript5-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev libqt5opengl5-dev qtmultimedia5-dev libqt5multimedia5-plugins libqt5serialport5 libqt5serialport5-dev qtpositioning5-dev libgps-dev libqt5positioning5 libqt5positioning5-plugins libqt5charts5-dev zlib1g-dev libgl1-mesa-dev libdrm-dev libexiv2-dev libnlopt-cxx-dev
- # Installing dev. env. dependencies
- apt install -y build-essential gcc g++ cmake gettext fakeroot ccache xvfb
- # Installing optional dependencies
- # apt install -y qtwebengine5-dev libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5
-
- # Produce a binary artifact and place it in the mounted volume
- run: |
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=On -DENABLE_SHOWMYSKY=Off -DENABLE_QTWEBENGINE=Off "${{ github.workspace }}"
- make -j3
- xvfb-run ctest --output-on-failure
-
- ci-linux-qt6:
- strategy:
- matrix:
- arch: [armv7, aarch64, riscv64]
- name: "Linux (${{ matrix.arch }}; qt6)"
- runs-on: ubuntu-22.04
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests
- uses: uraimo/run-on-arch-action@v2
- id: build-qt6
- with:
- arch: ${{ matrix.arch }}
- distro: ubuntu22.04
-
- # Not required, but speeds up builds by storing container images in
- # a GitHub package registry.
- githubToken: ${{ github.GITHUB_TOKEN }}
-
- # The shell to run commands with in the container
- shell: /bin/bash
-
- # Install some dependencies in the container. This speeds up builds if
- # you are also using githubToken. Any dependencies installed here will
- # be part of the container image that gets cached, so subsequent
- # builds don't have to re-install them. The image layer is cached
- # publicly in your project's package repository, so it is vital that
- # no secrets are present in the container state or logs.
- install: |
- # Update installed packages
- apt update -y
- ACCEPT_EULA=Y apt upgrade -o Dpkg::Options::="--force-overwrite" --yes
- # Installing dependencies
- apt install -y qt6-base-private-dev qt6-multimedia-dev qt6-positioning-dev qt6-tools-dev qt6-tools-dev-tools qt6-base-dev-tools qt6-qpa-plugins qt6-image-formats-plugins qt6-l10n-tools libqt6charts6-dev libqt6charts6 libqt6opengl6-dev libqt6positioning6-plugins libqt6serialport6-dev qt6-base-dev libexiv2-dev libnlopt-cxx-dev zlib1g-dev libgl1-mesa-dev libdrm-dev libglx-dev libxkbcommon-x11-dev libgps-dev
- # Installing dev. env. dependencies
- apt install -y build-essential gcc g++ cmake gettext fakeroot ccache xvfb
- # Installing optional dependencies
- # apt install -y qtwebengine5-dev libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5
-
- # Produce a binary artifact and place it in the mounted volume
- run: |
- mkdir -p build
- cd build
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=On -DENABLE_SHOWMYSKY=Off -DENABLE_QTWEBENGINE=Off "${{ github.workspace }}"
- make -j3
- xvfb-run ctest --output-on-failure
diff --git a/.github/workflows/ci-unix.yml b/.github/workflows/ci-unix.yml
deleted file mode 100644
index 9e08bb6702..0000000000
--- a/.github/workflows/ci-unix.yml
+++ /dev/null
@@ -1,148 +0,0 @@
-#
-# Implementation of Continuous Integration process for UNIX by Github actions (with extra additionals...)
-# See https://github.com/actions/runner-images
-#
-name: "CI"
-
-on:
- push:
- pull_request:
- # The branches below must be a subset of the branches above
- branches: [master]
-
-jobs:
- ci-freebsd-qt5:
- name: "FreeBSD (x86_64; qt5)"
- runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex') && contains(github.event.head_commit.message, '[qt5]')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests in FreeBSD
- uses: vmactions/freebsd-vm@v1
- id: freebsd-qt5
- with:
- # Use sh shell
- usesh: true
- # When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
- copyback: false
- prepare: |
- pkg install -y cmake eigen glm exiv2 nlopt perl5 xorg-vfbserver gettext qt5-buildtools qt5-charts qt5-concurrent qt5-core qt5-declarative qt5-gui qt5-script qt5-serialport qt5-qmake qt5-webengine qt5-widgets qt5-testlib qt5-linguisttools qt5-location qt5-network qt5-multimedia qt5-opengl qt5-webchannel
-
- run: |
- set -e -x
- export DISPLAY=:0
- mkdir builds
- cd builds
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=On "${{ github.workspace }}"
- make -j3
- Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
- sleep 3
- ctest --output-on-failure
- sleep 1
- pkill Xvfb
-
- ci-freebsd-qt6:
- name: "FreeBSD (x86_64; qt6)"
- runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests in FreeBSD
- uses: vmactions/freebsd-vm@v1
- id: freebsd-qt6
- with:
- # Use sh shell
- usesh: true
- # When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
- copyback: false
- prepare: |
- pkg install -y cmake eigen glm exiv2 nlopt perl5 xorg-vfbserver gettext qt6-webengine qt6-base qt6-tools qt6-serialport qt6-location qt6-positioning qt6-multimedia qt6-charts
-
- run: |
- set -e -x
- export DISPLAY=:0
- mkdir builds
- cd builds
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=On "${{ github.workspace }}"
- make -j3
- Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
- sleep 3
- ctest --output-on-failure
- sleep 1
- pkill Xvfb
-
- ci-openbsd-qt5:
- name: "OpenBSD (x86_64; qt5)"
- runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex') && contains(github.event.head_commit.message, '[qt5]')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests in OpenBSD
- uses: vmactions/openbsd-vm@v1
- id: openbsd-qt5
- with:
- # Use sh shell
- usesh: true
- # When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
- copyback: false
- prepare: |
- pkg_add -aU cmake eigen3 glm exiv2 nlopt gpsd qt5-qxlsx qt5 gettext-runtime gettext-tools
-
- run: |
- set -e -x
- #export Qt5_DIR=/usr/local/lib/qt5/cmake/Qt5
- #export Qt5Script_DIR=/usr/local/lib/qt5/cmake/Qt5Script
- #export Qt5LinguistTools_DIR=/usr/local/lib/qt5/cmake/Qt5LinguistTools
- export PATH=$PATH:/usr/local/lib/qt5/bin
- export DISPLAY=:0
- mkdir builds
- cd builds
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake -DENABLE_TESTING=On -DENABLE_QTWEBENGINE=Off "${{ github.workspace }}"
- make -j3
- Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
- sleep 3
- ctest --output-on-failure
- sleep 1
- pkill Xvfb
-
- ci-openbsd-qt6:
- name: "OpenBSD (x86_64; qt6)"
- runs-on: ubuntu-latest
- if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.actor, 'transifex')"
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Build and run unit tests in OpenBSD
- uses: vmactions/openbsd-vm@v1
- id: openbsd-qt6
- with:
- # Use sh shell
- usesh: true
- # When using rsync, you can define copyback: false to not copy files back from the VM in to the host.
- copyback: false
- prepare: |
- pkg_add -aU cmake eigen3 glm exiv2 nlopt gpsd qt6-qxlsx qt6 gettext-runtime gettext-tools
-
- run: |
- set -e -x
- export DISPLAY=:0
- mkdir builds
- cd builds
- cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=On -DENABLE_QTWEBENGINE=Off "${{ github.workspace }}"
- make -j3
- Xvfb :0 -ac -screen 0 1024x768x24+32 >/dev/null 2>&1 &
- sleep 3
- ctest --output-on-failure
- sleep 1
- pkill Xvfb