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 Jun 5, 2024
1 parent 5289e1a commit 0a2253c
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-docker-linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:


# https://hub.docker.com/r/redhat/ubi8
# `-static` disabled, there is no static libc.a.
# For `-static` to work, explicit static packages must be present.
redhat-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on RedHat stable'
runs-on: [self-hosted, linux, arm64, xbbla]
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:

# https://en.wikipedia.org/wiki/Fedora_version_history
# https://hub.docker.com/_/fedora
# `-static` disabled, there is no static libc.a.
# For `-static` to work, explicit static packages must be present.
fedora-arm64:
name: 'arm64 gcc ${{ github.event.inputs.version }} test on Fedora stable'
runs-on: [self-hosted, linux, arm64, xbbla]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docker-linux-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
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.
# For `-static` to work, explicit static packages must be present.
redhat-x64:
name: 'x64 gcc ${{ github.event.inputs.version }} test on RedHat stable'
runs-on: ubuntu-22.04
Expand Down
145 changes: 144 additions & 1 deletion .github/workflows/test-prime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,114 @@ on:

jobs:

linux-x64:
name: 'Linux x64 gcc ${{ github.event.inputs.version }} test'
runs-on: ubuntu-22.04

steps:
- name: 'Show environment'
run: |
uname -a
lsb_release -sd
echo "whoami: $(whoami)"
echo "pwd: $(pwd)"
ls -lLA
env | sort | grep -E '^[^ \t]+='
- 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: 'Run ${{ github.event.inputs.version }} native test'
run: bash scripts/test.sh --image github-actions-ubuntu-latest --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

linux-arm64:
name: 'Linux arm64 gcc ${{ github.event.inputs.version }} test'
runs-on: [self-hosted, linux, arm64, xbbla]

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@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: 'Run ${{ github.event.inputs.version }} docker test'
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 }}

linux-arm32:
name: 'Linux arm32 gcc ${{ github.event.inputs.version }} test'
runs-on: [self-hosted, linux, arm, xbbla32]

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@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: 'Run ${{ github.event.inputs.version }} docker test'
uses: docker://arm32v7/ubuntu:22.04
with:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/scripts/test.sh --image arm32v7/ubuntu:22.04 --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

macos-x64:
name: 'macOS x64 gcc ${{ github.event.inputs.version }} test'
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
Expand Down Expand Up @@ -83,7 +191,7 @@ jobs:

- name: 'Run ${{ github.event.inputs.version }} native test'
run: bash scripts/test.sh --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

macos-arm64:
name: 'macOS arm64 gcc ${{ github.event.inputs.version }} test'
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
Expand Down Expand Up @@ -127,5 +235,40 @@ jobs:

- name: 'Run ${{ github.event.inputs.version }} native test'
run: bash scripts/test.sh --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

windows-x64:
name: 'Windows x64 gcc ${{ github.event.inputs.version }} test'
runs-on: windows-2022
defaults:
run:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: bash # for --

steps:
- name: 'Show environment'
run: |
uname -a
systeminfo # 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: 'Run ${{ github.event.inputs.version }} native test'
run: bash scripts/test.sh --version ${{ github.event.inputs.version }} --base-url ${{ github.event.inputs.base_url }}

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

0 comments on commit 0a2253c

Please sign in to comment.