Skip to content

Commit

Permalink
static
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Gronowski <[email protected]>
  • Loading branch information
vvoland committed Sep 4, 2024
1 parent eb42f5d commit b266411
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
*)
Expand Down Expand Up @@ -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 }}
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit b266411

Please sign in to comment.