From b266411ba10ab022bb8432ad81f93570d9cff407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Wed, 4 Sep 2024 14:50:54 +0200 Subject: [PATCH] static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Gronowski --- .github/workflows/.nightly.yml | 14 ++++++++------ .github/workflows/nightly.yml | 18 ++++++++++-------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/.nightly.yml b/.github/workflows/.nightly.yml index fa291f046f..d507be7a6a 100644 --- a/.github/workflows/.nightly.yml +++ b/.github/workflows/.nightly.yml @@ -42,13 +42,10 @@ jobs: run: | echo "version=$(date +%Y%m%d)" >> $GITHUB_OUTPUT case ${{ inputs.arch }} in - amd64) + amd64|static) echo "worker=ubuntu-20.04" >> $GITHUB_OUTPUT ;; - arm64) - echo "worker=ubuntu22_arm64" >> $GITHUB_OUTPUT - ;; - armhf) + arm64|armhf) echo "worker=ubuntu22_arm64" >> $GITHUB_OUTPUT ;; *) @@ -81,12 +78,17 @@ jobs: export DOCKER_COMPOSE_REF=main export DOCKER_COMPOSE_VERSION=$VERSION - export ARCH=${{ inputs.arch }} + if [ "${{ inputs.target }}" == "static" ]; then + export DOCKER_BUILD_PKGS="static-linux cross-mac cross-win" + else + export ARCH=${{ inputs.arch }} + fi make ${{ inputs.target }} - name: Verify + if: ${{ inputs.image != '' }} run: | export IMAGE=${{ inputs.image }} export ARCH=${{ inputs.arch }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 04d5b8717b..4230cada1f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,25 +16,27 @@ jobs: #- {target: "debian-bullseye", image: "debian:bullseye"} - {target: "debian-bookworm", image: "debian:bookworm"} #- {target: "ubuntu-focal", image: "ubuntu:focal"} - - {target: "ubuntu-jammy", image: "ubuntu:jammy"} - - {target: "ubuntu-noble", image: "ubuntu:noble"} + #- {target: "ubuntu-jammy", image: "ubuntu:jammy"} + #- {target: "ubuntu-noble", image: "ubuntu:noble"} - - {target: "centos-9", image: "quay.io/centos/centos:stream9"} + #- {target: "centos-9", image: "quay.io/centos/centos:stream9"} #- {target: "fedora-39", image: "fedora:39"} - - {target: "fedora-40", image: "fedora:40"} + #- {target: "fedora-40", image: "fedora:40"} #- {target: "rhel-8", image: "registry.access.redhat.com/ubi8/ubi"} #- {target: "rhel-9", image: "registry.access.redhat.com/ubi9/ubi"} include: + - arch: static + dist: {target: "static", image: ""} #- arch: armhf # dist: {target: "debian-bullseye", image: "debian:bullseye"} - - arch: armhf - dist: {target: "debian-bookworm", image: "debian:bookworm"} + #- arch: armhf + # dist: {target: "debian-bookworm", image: "debian:bookworm"} #- arch: armhf # dist: {target: "ubuntu-focal", image: "ubuntu:focal"} #- arch: armhf # dist: {target: "ubuntu-jammy", image: "ubuntu:jammy"} - - arch: armhf - dist: {target: "ubuntu-noble", image: "ubuntu:noble"} + #- arch: armhf + # dist: {target: "ubuntu-noble", image: "ubuntu:noble"} # TODO # - arch: armhf # dist: {target: "raspbian-bullseye", image: "balenalib/rpi-raspbian:bullseye"}