Skip to content

Commit 5e169fd

Browse files
committed
re-generate workflows
1 parent 42a71e5 commit 5e169fd

4 files changed

Lines changed: 96 additions & 13 deletions

File tree

.github/workflows/build-linux-arm.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,29 @@ jobs:
111111
xpm install --config linux-arm --loglevel ${{ github.event.inputs.xpm_install_loglevel }} ${{ github.event.inputs.xpm_install_options }}
112112
xpm run build --config linux-arm
113113
114+
linux-arm-upload:
115+
name: 'linux-arm gcc ${{ github.event.inputs.version }} upload'
116+
timeout-minutes: 2880 # 2 days
117+
runs-on: [self-hosted, linux, arm, xbbla32]
118+
defaults:
119+
run:
120+
shell: bash
121+
needs: [linux-arm-build]
122+
123+
steps:
124+
- name: 'Show environment'
125+
run: |
126+
uname -a
127+
lsb_release -sd
128+
echo "whoami: $(whoami)"
129+
echo "pwd: $(pwd)"
130+
echo "node: $(node --version)"
131+
echo "npm: $(npm --version)"
132+
ls -lLA
133+
env | sort | grep -E '^[^ \t]+='
134+
114135
- name: Upload platform artefacts
115-
uses: actions/upload-artifact@v3 # v3 for 18.04
136+
uses: actions/upload-artifact@v4
116137
with:
117138
name: deploy-linux-arm
118139
path: ${{ github.workspace }}/build/linux-arm/deploy/*
@@ -140,12 +161,12 @@ jobs:
140161

141162
- name: 'Rename working area'
142163
# For just in case absolute paths remain unprocessed.
143-
run: mv -v build build-$(date -u +%Y%m%d-%H%M%S)
164+
run: echo mv -v build build-$(date -u +%Y%m%d-%H%M%S)
144165

145166
linux-arm-test:
146167
name: 'linux-arm gcc@${{ github.event.inputs.version }} test'
147168
runs-on: [self-hosted, linux, arm, xbbla32]
148-
needs: [linux-arm-build]
169+
needs: [linux-arm-upload]
149170

150171
steps:
151172
- name: 'Show environment'

.github/workflows/build-linux-arm64.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,30 @@ jobs:
111111
xpm install --config linux-arm64 --loglevel ${{ github.event.inputs.xpm_install_loglevel }} ${{ github.event.inputs.xpm_install_options }}
112112
xpm run build --config linux-arm64
113113
114+
linux-arm64-upload:
115+
name: 'linux-arm64 gcc ${{ github.event.inputs.version }} upload'
116+
timeout-minutes: 2880 # 2 days
117+
runs-on: [self-hosted, linux, arm64, xbbla]
118+
container:
119+
defaults:
120+
run:
121+
shell: bash
122+
needs: [linux-arm64-build]
123+
124+
steps:
125+
- name: 'Show environment'
126+
run: |
127+
uname -a
128+
lsb_release -sd
129+
echo "whoami: $(whoami)"
130+
echo "pwd: $(pwd)"
131+
echo "node: $(node --version)"
132+
echo "npm: $(npm --version)"
133+
ls -lLA
134+
env | sort | grep -E '^[^ \t]+='
135+
114136
- name: Upload platform artefacts
115-
uses: actions/upload-artifact@v3 # v3 for 18.04
137+
uses: actions/upload-artifact@v4
116138
with:
117139
name: deploy-linux-arm64
118140
path: ${{ github.workspace }}/build/linux-arm64/deploy/*
@@ -140,12 +162,12 @@ jobs:
140162

141163
- name: 'Rename working area'
142164
# For just in case absolute paths remain unprocessed.
143-
run: mv -v build build-$(date -u +%Y%m%d-%H%M%S)
165+
run: echo mv -v build build-$(date -u +%Y%m%d-%H%M%S)
144166

145167
linux-arm64-test:
146168
name: 'linux-arm64 gcc ${{ github.event.inputs.version }} test'
147169
runs-on: [self-hosted, linux, arm64, xbbla]
148-
needs: [linux-arm64-build]
170+
needs: [linux-arm64-upload]
149171

150172
steps:
151173
- name: 'Show environment'

.github/workflows/build-linux-x64.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,30 @@ jobs:
111111
xpm install --config linux-x64 --loglevel ${{ github.event.inputs.xpm_install_loglevel }} ${{ github.event.inputs.xpm_install_options }}
112112
xpm run build --config linux-x64
113113
114+
linux-x64-upload:
115+
name: 'linux-x64 gcc ${{ github.event.inputs.version }} upload'
116+
timeout-minutes: 5760 # 4 days
117+
runs-on: [self-hosted, linux, x64]
118+
defaults:
119+
run:
120+
shell: bash
121+
needs: [linux-x64-build]
122+
123+
steps:
124+
- name: 'Show environment'
125+
run: |
126+
uname -a
127+
lsb_release -sd
128+
echo "whoami: $(whoami)"
129+
echo "pwd: $(pwd)"
130+
ls -lLA
131+
env | sort | grep -E '^[^ \t]+='
132+
114133
- name: Upload platform artefacts
115-
uses: actions/upload-artifact@v3 # v3 for 18.04
134+
uses: actions/upload-artifact@v4
116135
with:
117136
name: deploy-linux-x64
118-
path: ${{ github.workspace }}/build/linux-x64/deploy/*
137+
path: $/build/linux-x64/deploy/*
119138
overwrite: true
120139

121140
- name: 'Publish pre-release'
@@ -140,12 +159,12 @@ jobs:
140159

141160
- name: 'Rename working area'
142161
# For just in case absolute paths remain unprocessed.
143-
run: mv -v build build-$(date -u +%Y%m%d-%H%M%S)
162+
run: echo mv -v build build-$(date -u +%Y%m%d-%H%M%S)
144163

145164
linux-x64-test:
146165
name: 'linux-x64 gcc ${{ github.event.inputs.version }} test'
147166
runs-on: ubuntu-22.04
148-
needs: [linux-x64-build]
167+
needs: [linux-x64-upload]
149168

150169
steps:
151170
- name: 'Show environment'

.github/workflows/build-win32-x64.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,29 @@ jobs:
111111
xpm install --config win32-x64 --loglevel ${{ github.event.inputs.xpm_install_loglevel }} ${{ github.event.inputs.xpm_install_options }}
112112
xpm run build --config win32-x64
113113
114+
win32-x64-upload:
115+
name: 'win32-x64 gcc ${{ github.event.inputs.version }} upload'
116+
timeout-minutes: 5760 # 4 days
117+
runs-on: [self-hosted, linux, x64]
118+
defaults:
119+
run:
120+
shell: bash
121+
needs: [win32-x64-build]
122+
123+
steps:
124+
- name: 'Show environment'
125+
run: |
126+
uname -a
127+
lsb_release -sd
128+
echo "whoami: $(whoami)"
129+
echo "pwd: $(pwd)"
130+
echo "node: $(node --version)"
131+
echo "npm: $(npm --version)"
132+
ls -lLA
133+
env | sort | grep -E '^[^ \t]+='
134+
114135
- name: Upload platform artefacts
115-
uses: actions/upload-artifact@v3 # v3 for 18.04
136+
uses: actions/upload-artifact@v4
116137
with:
117138
name: deploy-win32-x64
118139
path: ${{ github.workspace }}/build/win32-x64/deploy/*
@@ -140,12 +161,12 @@ jobs:
140161

141162
- name: 'Rename working area'
142163
# For just in case absolute paths remain unprocessed.
143-
run: mv -v build build-$(date -u +%Y%m%d-%H%M%S)
164+
run: echo mv -v build build-$(date -u +%Y%m%d-%H%M%S)
144165

145166
win32-x64-test:
146167
name: 'win32-x64 gcc ${{ github.event.inputs.version }} test'
147168
runs-on: windows-2022
148-
needs: [win32-x64-build]
169+
needs: [win32-x64-upload]
149170
defaults:
150171
run:
151172
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell

0 commit comments

Comments
 (0)