Skip to content

Commit fdadda7

Browse files
committed
static
Signed-off-by: Paweł Gronowski <[email protected]>
1 parent eb42f5d commit fdadda7

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.github/workflows/.nightly.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,10 @@ jobs:
4242
run: |
4343
echo "version=$(date +%Y%m%d)" >> $GITHUB_OUTPUT
4444
case ${{ inputs.arch }} in
45-
amd64)
45+
amd64|static)
4646
echo "worker=ubuntu-20.04" >> $GITHUB_OUTPUT
4747
;;
48-
arm64)
49-
echo "worker=ubuntu22_arm64" >> $GITHUB_OUTPUT
50-
;;
51-
armhf)
48+
arm64|armhf)
5249
echo "worker=ubuntu22_arm64" >> $GITHUB_OUTPUT
5350
;;
5451
*)
@@ -87,13 +84,17 @@ jobs:
8784
8885
-
8986
name: Verify
87+
if: ${{ inputs.image != '' }}
9088
run: |
9189
export IMAGE=${{ inputs.image }}
9290
export ARCH=${{ inputs.arch }}
9391
9492
if [ "$ARCH" == "armhf" ]; then
9593
export VERIFY_PLATFORM="--platform linux/arm/v7"
9694
fi
95+
if [ "$ARCH" == "static" ]; then
96+
export DOCKER_BUILD_PKGS="static-linux cross-mac cross-win"
97+
fi
9798
9899
make verify
99100

.github/workflows/nightly.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,27 @@ jobs:
1616
#- {target: "debian-bullseye", image: "debian:bullseye"}
1717
- {target: "debian-bookworm", image: "debian:bookworm"}
1818
#- {target: "ubuntu-focal", image: "ubuntu:focal"}
19-
- {target: "ubuntu-jammy", image: "ubuntu:jammy"}
20-
- {target: "ubuntu-noble", image: "ubuntu:noble"}
19+
#- {target: "ubuntu-jammy", image: "ubuntu:jammy"}
20+
#- {target: "ubuntu-noble", image: "ubuntu:noble"}
2121

22-
- {target: "centos-9", image: "quay.io/centos/centos:stream9"}
22+
#- {target: "centos-9", image: "quay.io/centos/centos:stream9"}
2323
#- {target: "fedora-39", image: "fedora:39"}
24-
- {target: "fedora-40", image: "fedora:40"}
24+
#- {target: "fedora-40", image: "fedora:40"}
2525
#- {target: "rhel-8", image: "registry.access.redhat.com/ubi8/ubi"}
2626
#- {target: "rhel-9", image: "registry.access.redhat.com/ubi9/ubi"}
2727
include:
28+
- arch: static
29+
dist: {target: "static", image: ""}
2830
#- arch: armhf
2931
# dist: {target: "debian-bullseye", image: "debian:bullseye"}
30-
- arch: armhf
31-
dist: {target: "debian-bookworm", image: "debian:bookworm"}
32+
#- arch: armhf
33+
# dist: {target: "debian-bookworm", image: "debian:bookworm"}
3234
#- arch: armhf
3335
# dist: {target: "ubuntu-focal", image: "ubuntu:focal"}
3436
#- arch: armhf
3537
# dist: {target: "ubuntu-jammy", image: "ubuntu:jammy"}
36-
- arch: armhf
37-
dist: {target: "ubuntu-noble", image: "ubuntu:noble"}
38+
#- arch: armhf
39+
# dist: {target: "ubuntu-noble", image: "ubuntu:noble"}
3840
# TODO
3941
# - arch: armhf
4042
# dist: {target: "raspbian-bullseye", image: "balenalib/rpi-raspbian:bullseye"}

0 commit comments

Comments
 (0)