diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8bc9d73..2b6b0ce 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -102,6 +102,9 @@ jobs: # The `xvfb` image is used in the CI for the PkgEval.jl repo - 'xvfb.aarch64' - 'xvfb.x86_64' + + # The `yggdrasil` image is used in the CI for the Yggdrasil repo + - 'yggdrasil.x86_64' steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 diff --git a/linux/yggdrasil.jl b/linux/yggdrasil.jl new file mode 100644 index 0000000..e5f9a85 --- /dev/null +++ b/linux/yggdrasil.jl @@ -0,0 +1,37 @@ +using RootfsUtils: parse_build_args, upload_gha, test_sandbox +using RootfsUtils: debootstrap +using RootfsUtils: root_chroot + +args = parse_build_args(ARGS, @__FILE__) +arch = args.arch +archive = args.archive +image = args.image + +packages = [ + "apt-transport-https", + "bzip2", + "curl", + "expect", + "git", + "gnupg2", + "iproute2", + "jq", + "libgomp1", + "libicu67", + "localepurge", + "locales", + "openssh-client", + "openssl", + "p7zip", + "python3", + "ssh", + "unzip", + "vim", + "wget", + "xz-utils", + "zstd", +] + +artifact_hash, tarball_path, = debootstrap(arch, image; archive, packages) +upload_gha(tarball_path) +test_sandbox(artifact_hash)