* Rename `LicenseManager` to `License` * Rename `LicenseManager` to `License` * Move License class to gui lib * Rename license related classes * Refactor serial key parsing * Don't fail fast on containers * Move licensed product name from config to code * Fixed formatting * Update code coverage generator and fixed args * WIP: Converting license to chrono * WIP: Fixed compile errors, tests failing * Fixed all serial key and license tests * Disable verbose logging * Add missing </p> * Add missing include * Revert code coverage config * Handle parse errors * Move more classes into the new gui lib and improve license/serial object ownership * WIP: Fixing signal/slots in MainWindow * Fixed slot for about to quit * Rename manual slots to solve auto-connection warnings * Fixed logging issue * By default, don't close to tray * Add .env support and furthe refactor license code, also fixed some copyright dates * Remove test code * Fixed memory error in .env parser and refactor more licensing display code * Fixed color inconsistencies * Fixed link colors and made log view expand * Disable server components rather than hiding * Reset years of blind UI layout fiddling * Fixed clean Qt task * Only show notice when time limited * Fixed main window layout * Show connected clients * Set 15 spacing * Auto connect on start * More intentional screen size * Fixed tests related to license * Tests for expiry notifications * Reorg tests and remove death test * Update gtest * Tests for dotenv parser * Test command process * What the heck is that doing there? * Merge constants headers * Fixed magic includes * Remove helper function * Remove comment * Remove extern decl * Update ChangeLog
110 lines
3.1 KiB
YAML
110 lines
3.1 KiB
YAML
# Weekly build of the Linux Docker containers.
|
|
#
|
|
# The objective is to reduce the problem where package updates often break the build process
|
|
# due to transient network errors.
|
|
#
|
|
# We use Docker Buildx instead of Docker Automated Builds so that we can create an image that is
|
|
# always at most a week out of date (instead of the last time a Dockerfile change was pushed).
|
|
|
|
name: Build containers
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 5 * * 0"
|
|
|
|
jobs:
|
|
build-containers:
|
|
name: ${{ matrix.os.name }}
|
|
runs-on: ${{ matrix.os.runs-on }}
|
|
if: ${{ vars.BUILD_CONTAINERS }}
|
|
timeout-minutes: 10
|
|
|
|
strategy:
|
|
# Build all images even if some fail.
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
os:
|
|
- name: debian-12-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: debian
|
|
base-image: debian:12-slim
|
|
platform: amd64
|
|
|
|
- name: debian-12-arm64
|
|
runs-on: ubuntu-24.04-8-core-arm64
|
|
config-dir: debian
|
|
base-image: arm64v8/debian:12-slim
|
|
platform: arm64
|
|
|
|
- name: ubuntu-24.04-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: debian
|
|
base-image: ubuntu:24.04
|
|
platform: amd64
|
|
|
|
- name: ubuntu-22.04-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: debian
|
|
base-image: ubuntu:22.04
|
|
platform: amd64
|
|
|
|
- name: fedora-40-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: fedora
|
|
base-image: fedora:40
|
|
platform: amd64
|
|
|
|
- name: fedora-40-arm64
|
|
runs-on: ubuntu-24.04-8-core-arm64
|
|
config-dir: fedora
|
|
base-image: arm64v8/fedora:40
|
|
platform: arm64
|
|
|
|
- name: fedora-39-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: fedora
|
|
base-image: fedora:39
|
|
platform: amd64
|
|
|
|
- name: opensuse-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: opensuse
|
|
base-image: opensuse/tumbleweed:latest
|
|
platform: amd64
|
|
|
|
- name: archlinux-amd64
|
|
runs-on: ubuntu-latest
|
|
config-dir: archlinux
|
|
base-image: archlinux:latest
|
|
platform: amd64
|
|
|
|
- name: manjaro-amd64
|
|
config-dir: archlinux
|
|
runs-on: ubuntu-latest
|
|
base-image: manjarolinux/base:latest
|
|
platform: amd64
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to Docker Hub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
push: true
|
|
context: .
|
|
file: ./.github/docker/${{ matrix.os.config-dir }}/Dockerfile
|
|
tags: symless/synergy-core:${{ matrix.os.name }}
|
|
build-args: BASE_IMAGE=${{ matrix.os.base-image }}
|
|
platforms: linux/${{ matrix.os.platform }}
|