Test xPack GNU sed on arm64 Docker platforms #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ----------------------------------------------------------------------------- | |
| # DO NOT EDIT! | |
| # Automatically generated from npm-packages-helper/templates/*. | |
| # | |
| # This file is part of the xPack project (http://xpack.github.io). | |
| # Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved. | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software | |
| # for any purpose is hereby granted, under the terms of the MIT license. | |
| # | |
| # If a copy of the license was not distributed with this file, it can | |
| # be obtained from https://opensource.org/licenses/mit. | |
| # | |
| # ----------------------------------------------------------------------------- | |
| # https://help.github.com/en/actions | |
| # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | |
| # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch | |
| # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch | |
| # https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event | |
| # https://github.com/actions/checkout | |
| # https://github.com/actions/upload-artifact | |
| # https://github.com/actions/download-artifact | |
| # ----------------------------------------------------------------------------- | |
| # https://github.com/docker-library/official-images#architectures-other-than-amd64 | |
| # Debian versions: | |
| # - 8 jessie | |
| # - 9 stretch | |
| # - 10 buster | |
| # - 11 bullseye | |
| # Ubuntu releases | |
| # - 12.04 LTS (Precise Pangolin) | |
| # - 14.04 LTS (Trusty Tahr) | |
| # - 16.04 LTS (Xenial Xerus) | |
| # - 18.04 LTS (Bionic Beaver) | |
| # - 20.04 LTS (Focal Fossa) | |
| # - 22.04 LTS (Jammy Jellyfish) | |
| # ----------------------------------------------------------------------------- | |
| name: 'Test xPack GNU sed on Arm Docker platforms' | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| base_url: | |
| description: 'The folder part of the URL where binaries are stored' | |
| required: false | |
| default: 'release' | |
| version: | |
| description: 'The semver of the release' | |
| required: false | |
| default: 'current' | |
| helper-git-ref: | |
| description: 'The helper branch, tag or SHA to checkout' | |
| required: false | |
| default: 'xpack-development' | |
| # The scripts are executed in the Docker context by GitHub Actions, | |
| # so `native-test.sh` should be fine, it already takes care of updates. | |
| jobs: | |
| # https://en.wikipedia.org/wiki/Ubuntu_version_history | |
| # https://hub.docker.com/_/ubuntu | |
| # The ubuntu:12.04 image fails to update. | |
| ubuntu-arm64: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Ubuntu stable' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| # https://hub.docker.com/_/ubuntu | |
| - name: 'Ubuntu 24.04 arm64' | |
| uses: docker://ubuntu:24.04 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image ubuntu:24.04 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Ubuntu 22.04 arm64' | |
| uses: docker://ubuntu:22.04 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image ubuntu:22.04 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Ubuntu 20.04 arm64' | |
| uses: docker://ubuntu:20.04 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image ubuntu:20.04 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # https://en.wikipedia.org/wiki/Debian_version_history | |
| # https://hub.docker.com/_/debian | |
| debian-arm64: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Debian stable' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| # https://hub.docker.com/_/debian | |
| - name: 'Debian 13 arm64' | |
| uses: docker://debian:13 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image debian:13 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Debian 12 arm64' | |
| uses: docker://debian:12 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image debian:12 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Debian 11 arm64' | |
| uses: docker://debian:11 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image debian:11 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # https://hub.docker.com/r/redhat/ubi8 | |
| # For `-static` to work, explicit static packages must be present. | |
| redhat-arm64: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on RedHat stable' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'RedHat 8 arm64' | |
| uses: docker://redhat/ubi8 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image redhat/ubi8 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # https://en.wikipedia.org/wiki/Fedora_version_history | |
| # https://hub.docker.com/_/fedora | |
| # For `-static` to work, explicit static packages must be present. | |
| fedora-arm64: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Fedora stable' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| # Every fourth release. 29, 33, 37, 41, 45, 49... | |
| - name: 'Fedora 41 arm64' | |
| uses: docker://fedora:41 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image fedora:41 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Fedora 37 arm64' | |
| uses: docker://fedora:37 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image fedora:37 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Fedora 33 arm64' | |
| uses: docker://fedora:33 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image fedora:33 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Fedora 29 arm64' | |
| uses: docker://fedora:29 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image fedora:29 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # https://en.wikipedia.org/wiki/OpenSUSE#Releases | |
| # https://hub.docker.com/u/opensuse | |
| # `-static` disabled, there is no static libc.a. | |
| opensuse-arm64: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on OpenSUSE stable' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'OpenSUSE 15.6 arm64' | |
| uses: docker://opensuse/leap:15.6 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image opensuse/leap:15.6 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'OpenSUSE 15.5 arm64' | |
| uses: docker://opensuse/leap:15.5 | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image opensuse/leap:15.5 --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # --------------------------------------------------------------------------- | |
| ubuntu-arm64-latest: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Ubuntu latest' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| # https://hub.docker.com/_/ubuntu | |
| - name: 'Ubuntu latest arm64' | |
| uses: docker://ubuntu:latest | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image ubuntu:latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # ubuntu:rolling fails during update | |
| debian-arm64-latest: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Debian latest' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'Debian testing arm64' | |
| uses: docker://debian:testing | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image debian:testing --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| - name: 'Debian latest arm64' | |
| uses: docker://debian:latest | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image debian:latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # https://en.wikipedia.org/wiki/Fedora_version_history | |
| # https://hub.docker.com/_/fedora | |
| # `-static` disabled, there is no static libc.a. | |
| fedora-arm64-latest: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Fedora latest' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'Fedora latest arm64' | |
| uses: docker://fedora:latest | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image fedora:latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # - https://hub.docker.com/r/opensuse/tumbleweed | |
| opensuse-arm64-latest: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on OpenSUSE latest' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| - name: 'Clean working area' # Mandatory for self-hosted runners. | |
| run: | | |
| chmod -Rf a+w * || true | |
| rm -rf * .git* | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'OpenSUSE tumbleweed arm64' | |
| uses: docker://opensuse/tumbleweed | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image opensuse/tumbleweed --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # - https://hub.docker.com/_/archlinux | |
| arch-arm64-latest: | |
| name: 'arm64 sed ${{github.event.inputs.version}} test on Arch latest' | |
| # runs-on: [self-hosted, linux, arm64, xbbla] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: 'Show environment' | |
| run: | | |
| uname -a | |
| lsb_release -sd | |
| echo "whoami: $(whoami)" | |
| echo "pwd: $(pwd)" | |
| ls -lLA | |
| env | sort | grep -E '^[^ \t]+=' | |
| # https://github.com/actions/checkout | |
| - name: 'Checkout project' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 3 | |
| - name: 'Checkout helper ${{github.event.inputs.helper-git-ref}}' | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: xpack-dev-tools/xbb-helper-xpack | |
| path: build-assets/xpacks/@xpack-dev-tools/xbb-helper | |
| ref: ${{github.event.inputs.helper-git-ref}} | |
| fetch-depth: 3 | |
| - name: 'Arch latest arm64' | |
| uses: docker://archlinux:latest | |
| with: | |
| entrypoint: /bin/bash | |
| args: /github/workspace/build-assets/scripts/test.sh --image archlinux:latest --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} | |
| # ----------------------------------------------------------------------------- |