From 4bcfbfe663f474da848f81ef7823e5c8c9976965 Mon Sep 17 00:00:00 2001 From: Samuel Karp Date: Thu, 10 Dec 2020 21:41:34 -0800 Subject: [PATCH] ci: add cross-compile for FreeBSD Signed-off-by: Samuel Karp --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bae0e2678..d353b518a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,6 +157,13 @@ jobs: make binaries working-directory: src/github.com/containerd/containerd + - name: Cross-compile + if: startsWith(matrix.os, 'ubuntu') + run : | + GOOS=freebsd make build + GOOS=freebsd make binaries + working-directory: src/github.com/containerd/containerd + # # Integration and CRI tests #