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 Oct 6, 2024
1 parent 58f481e commit d789215
Show file tree
Hide file tree
Showing 12 changed files with 265 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build-darwin-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC darwin-arm64'

on:
Expand Down Expand Up @@ -64,6 +69,15 @@ on:

jobs:










darwin-arm64-build:
name: 'darwin-arm64 gcc ${{github.event.inputs.version}} build'
timeout-minutes: 2880 # 2 days
Expand Down Expand Up @@ -185,9 +199,12 @@ jobs:
- name: 'Run ${{github.event.inputs.version}} native test'
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-darwin-arm64
path: ${{github.workspace}}/build-assets/build/darwin-arm64/artefacts/tests-report-*.md
overwrite: true


15 changes: 15 additions & 0 deletions .github/workflows/build-darwin-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC darwin-x64'

on:
Expand Down Expand Up @@ -64,6 +69,13 @@ on:

jobs:








darwin-x64-build:
name: 'darwin-x64 gcc ${{github.event.inputs.version}} build'
timeout-minutes: 2880 # 2 days
Expand Down Expand Up @@ -185,9 +197,12 @@ jobs:
- name: 'Run ${{github.event.inputs.version}} native test'
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-darwin-x64
path: ${{github.workspace}}/build-assets/build/darwin-x64/artefacts/tests-report-*.md
overwrite: true


13 changes: 13 additions & 0 deletions .github/workflows/build-linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC linux-arm'

on:
Expand Down Expand Up @@ -64,6 +69,11 @@ on:

jobs:






linux-arm-build:
name: 'linux-arm gcc ${{github.event.inputs.version}} build'
timeout-minutes: 2880 # 2 days
Expand Down Expand Up @@ -204,9 +214,12 @@ jobs:
entrypoint: /bin/bash # /usr/bin/linux32
args: /github/workspace/build-assets/scripts/test.sh --image debian --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-linux-arm
path: ${{github.workspace}}/build-assets/build/linux-arm/artefacts/tests-report-*.md
overwrite: true


11 changes: 11 additions & 0 deletions .github/workflows/build-linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC linux-arm64'

on:
Expand Down Expand Up @@ -64,6 +69,9 @@ on:

jobs:




linux-arm64-build:
name: 'linux-arm64 gcc ${{github.event.inputs.version}} build'
timeout-minutes: 2880 # 2 days
Expand Down Expand Up @@ -205,9 +213,12 @@ jobs:
entrypoint: /bin/bash
args: /github/workspace/build-assets/scripts/test.sh --image debian --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-linux-arm64
path: ${{github.workspace}}/build-assets/build/linux-arm64/artefacts/tests-report-*.md
overwrite: true


9 changes: 9 additions & 0 deletions .github/workflows/build-linux-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC linux-x64'

on:
Expand Down Expand Up @@ -64,6 +69,7 @@ on:

jobs:


linux-x64-build:
name: 'linux-x64 gcc ${{github.event.inputs.version}} build'
timeout-minutes: 5760 # 4 days
Expand Down Expand Up @@ -193,9 +199,12 @@ jobs:
- name: 'Run ${{github.event.inputs.version}} native test'
run: bash build-assets/scripts/test.sh --image github-actions-ubuntu-latest --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-linux-x64
path: ${{github.workspace}}/build-assets/build/linux-x64/artefacts/tests-report-*.md
overwrite: true


20 changes: 20 additions & 0 deletions .github/workflows/build-win32-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Build xPack GCC win32-x64'

on:
Expand Down Expand Up @@ -64,6 +69,17 @@ on:

jobs:












win32-x64-build:
name: 'win32-x64 gcc ${{github.event.inputs.version}} build'
timeout-minutes: 5760 # 4 days
Expand Down Expand Up @@ -200,9 +216,13 @@ jobs:
- name: 'Run ${{github.event.inputs.version}} native test'
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release


- name: Upload platform tests report
uses: actions/upload-artifact@v4
with:
name: tests-report-win32-x64
path: ${{github.workspace}}/build-assets/build/win32-x64/artefacts/tests-report-*.md
overwrite: true



42 changes: 42 additions & 0 deletions .github/workflows/deep-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Deep clean xPack GCC'

on:
Expand All @@ -36,6 +41,7 @@ on:

jobs:


linux-x64:
name: 'linux-x64 gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 5760 # 4 days
Expand All @@ -57,6 +63,17 @@ jobs:
win32-x64:
name: 'win32-x64 gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 5760 # 4 days
Expand All @@ -78,6 +95,11 @@ jobs:
linux-arm:
name: 'linux-arm gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 2880 # 2 days
Expand All @@ -100,6 +122,9 @@ jobs:
linux-arm64:
name: 'linux-arm64 gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 2880 # 2 days
Expand All @@ -121,6 +146,13 @@ jobs:
darwin-x64:
name: 'darwin-x64 gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 2880 # 2 days
Expand All @@ -144,6 +176,15 @@ jobs:
darwin-arm64:
name: 'darwin-arm64 gcc ${{github.event.inputs.version}} clean'
timeout-minutes: 2880 # 2 days
Expand All @@ -164,3 +205,4 @@ jobs:
run: |
chmod -Rf a+w * || true
rm -rf * .git*
7 changes: 6 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
# -----------------------------------------------------------------------------







name: 'Publish the xPack GCC release'

on:
Expand Down Expand Up @@ -71,7 +76,7 @@ jobs:
run: |
ls -lLA
npm --prefix build-assets install -dd
./build-assets/node_modules/.bin/liquidjs --context '{ "XBB_RELEASE_VERSION": "${{github.event.inputs.version}}" }' --template @build-assets/templates/body-github-release-liquid.md --output .github/workflows/body-github-release.md
./build-assets/node_modules/.bin/liquidjs --context '{ "releaseVersion": "${{github.event.inputs.version}}" }' --template @build-assets/templates/body-github-release-liquid.md --output .github/workflows/body-github-release.md
cat .github/workflows/body-github-release.md
- name: 'Publish release'
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test-docker-linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
# -----------------------------------------------------------------------------







# https://github.com/docker-library/official-images#architectures-other-than-amd64

# Debian versions:
Expand Down Expand Up @@ -65,6 +70,9 @@ on:
# 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.
Expand Down Expand Up @@ -479,6 +487,8 @@ jobs:
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/r/arm32v7/ubuntu/
ubuntu-arm:
name: 'arm gcc ${{github.event.inputs.version}} test on Ubuntu stable'
Expand Down Expand Up @@ -709,4 +719,11 @@ jobs:
# arm32v7/opensuse:latest is leap 42.3 and fails due to http: URLs
# (zypper lr -u)








# -----------------------------------------------------------------------------
Loading

0 comments on commit d789215

Please sign in to comment.