Skip to content

Commit

Permalink
re-generate workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed May 27, 2024
1 parent e91901b commit 58ed89e
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-xbbla32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,21 @@ jobs:
ls -lLA
env | sort | grep -E '^[^ \t]+='
- name: 'Clean working area'
run: |
chmod -Rf a+w * || true
rm -rf * .git*
- name: 'Checkout project'
uses: actions/checkout@v1 # v1 for old Git
with:
fetch-depth: 3

- name: 'Install xpm'
timeout-minutes: 1440
run: |
npm install --location=global xpm@${{ github.event.inputs.xpm_version }}
xpm --version
git config --global --add safe.directory /__w/clang-xpack/clang-xpack
git pull
- name: 'Install project dependencies'
timeout-minutes: 1440
Expand Down
267 changes: 267 additions & 0 deletions .github/workflows/test-docker-linux-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ jobs:
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Ubuntu 22.04 x64'
uses: docker://ubuntu:22.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Ubuntu 20.04 x64'
uses: docker://ubuntu:20.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:20.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Ubuntu 18.04 x64'
uses: docker://ubuntu:18.04
with:
Expand Down Expand Up @@ -127,12 +139,54 @@ jobs:
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Debian 11 x64'
uses: docker://debian:bullseye
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:bullseye --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Debian 10 x64'
uses: docker://debian:buster
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:buster --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

# https://hub.docker.com/r/redhat/ubi8
# `-static` disabled, there is no static libc.a.
redhat-x64:
name: 'x64 clang ${{ github.event.inputs.version }} test on RedHat stable'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'RedHat 8 x64'
uses: docker://redhat/ubi8
with:
entrypoint: /bin/bash
args: /github/workspace/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
# `-static` disabled, there is no static libc.a.
Expand Down Expand Up @@ -164,11 +218,224 @@ jobs:
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Fedora 37 x64'
uses: docker://fedora:37
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:37 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Fedora 33 x64'
uses: docker://fedora:33
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:33 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Fedora 29 x64'
uses: docker://fedora:29
with:
entrypoint: /bin/bash
args: /github/workspace/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-x64:
name: 'x64 clang ${{ github.event.inputs.version }} test on OpenSUSE stable'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'OpenSUSE 15.4 x64'
uses: docker://opensuse/leap:15.4
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image opensuse/leap:15.4 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'OpenSUSE 15.3 x64'
uses: docker://opensuse/leap:15.3
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image opensuse/leap:15.3 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

ubuntu-x64-latest:
name: 'x64 clang ${{ github.event.inputs.version }} test on Ubuntu latest'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Ubuntu latest x64'
uses: docker://ubuntu:22.04
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}
# ubuntu:rolling fails during update

debian-x64-latest:
name: 'x64 clang ${{ github.event.inputs.version }} test on Debian latest'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Debian testing x64'
uses: docker://debian:testing
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:testing --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

- name: 'Debian latest x64'
uses: docker://debian:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image debian:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

# Fails during zypper in
# docker://opensuse/tumbleweed

# fedora:rawhide - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/...
# docker://fedora:latest

# https://en.wikipedia.org/wiki/Fedora_version_history
# https://hub.docker.com/_/fedora
# `-static` disabled, there is no static libc.a.
fedora-x64-latest:
name: 'x64 clang ${{ github.event.inputs.version }} test on Fedora latest'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Fedora latest x64'
uses: docker://fedora:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image fedora:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

# - https://hub.docker.com/_/archlinux
arch-x64-latest:
name: 'x64 clang ${{ github.event.inputs.version }} test on Arch latest'
runs-on: ubuntu-22.04

steps:
- name: '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@v3
with:
fetch-depth: 3

- name: 'Checkout helper ${{ github.event.inputs.helper-git-ref }}'
uses: actions/checkout@v3
with:
repository: xpack-dev-tools/xbb-helper-xpack
path: xpacks/@xpack-dev-tools/xbb-helper
ref: ${{ github.event.inputs.helper-git-ref }}
fetch-depth: 3

- name: 'Arch latest x64'
uses: docker://archlinux:latest
with:
entrypoint: /bin/bash
args: /github/workspace/scripts/test.sh --image archlinux:latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

# - https://hub.docker.com/u/manjarolinux
# docker://manjarolinux/base - too slow

# - https://hub.docker.com/r/gentoo/portage
# docker://gentoo/portage - exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown.

# -----------------------------------------------------------------------------

0 comments on commit 58ed89e

Please sign in to comment.