Replace checkout action, remove upload (#17214)

Due to node v20 being incompatible with some of the CI images
(too old glibc), the checkout action is replaced by an alternative
which does not need node, and upload is removed for now.
This commit is contained in:
zoltanvb 2024-11-27 00:10:44 +01:00 committed by GitHub
parent 03c8c12740
commit 04b53ce692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 15 additions and 53 deletions

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile Salamander - name: Compile Salamander
run: | run: |
@ -34,9 +34,3 @@ jobs:
- name: Get short SHA - name: Get short SHA
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: RA-3DS-dummy-${{ steps.slug.outputs.sha8 }}
path: |
retroarch_3ds.cia

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile RA - name: Compile RA
run: | run: |
@ -31,8 +31,3 @@ jobs:
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: RA-Emscripten-dummy-${{ steps.slug.outputs.sha8 }}
path: |
retroarch.js

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile RA - name: Compile RA
run: | run: |
@ -30,8 +30,3 @@ jobs:
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: RA-GameCube-dummy-${{ steps.slug.outputs.sha8 }}
path: |
retroarch_ngc.dol

View File

@ -21,7 +21,7 @@ jobs:
steps: steps:
- name: Check Out Repo - name: Check Out Repo
uses: actions/checkout@v3 uses: taiki-e/checkout-action@v1
- name: Configure Build - name: Configure Build
run: | run: |
@ -35,9 +35,3 @@ jobs:
- name: Get short SHA - name: Get short SHA
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: retroarch_linux_i686${{ steps.slug.outputs.sha8 }}
path: |
retroarch

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile Salamander - name: Compile Salamander
run: | run: |
@ -35,8 +35,3 @@ jobs:
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: RA-Wii-dummy-${{ steps.slug.outputs.sha8 }}
path: |
retroarch_wii.dol

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile Salamander - name: Compile Salamander
run: | run: |
@ -34,9 +34,3 @@ jobs:
- name: Get short SHA - name: Get short SHA
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: RA-WiiU-dummy-${{ steps.slug.outputs.sha8 }}
path: |
retroarch.rpx

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile RA - name: Compile RA
run: | run: |
@ -32,9 +32,3 @@ jobs:
- name: Get short SHA - name: Get short SHA
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: retroarch${{ steps.slug.outputs.sha8 }}
path: |
retroarch.exe

View File

@ -20,7 +20,7 @@ jobs:
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3 - uses: taiki-e/checkout-action@v1
- name: Compile RA - name: Compile RA
run: | run: |
@ -32,9 +32,3 @@ jobs:
- name: Get short SHA - name: Get short SHA
id: slug id: slug
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
- uses: actions/upload-artifact@v3
with:
name: retroarch${{ steps.slug.outputs.sha8 }}
path: |
retroarch.exe

View File

@ -6,6 +6,9 @@ stages:
- prepare-for-static-cores - prepare-for-static-cores
- trigger-static-cores - trigger-static-cores
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
build-retroarch-windows-x64: build-retroarch-windows-x64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-mxe-win64-cross:gcc10 image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-mxe-win64-cross:gcc10
stage: build stage: build
@ -880,6 +883,8 @@ build-static-retroarch-ctr:
stage: prepare-for-static-cores stage: prepare-for-static-cores
before_script: before_script:
- export NUMPROC=$(($(nproc)/3)) - export NUMPROC=$(($(nproc)/3))
- export ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION=node16
- export ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION=node16
artifacts: artifacts:
paths: paths:
- retroarch-precompiled/ - retroarch-precompiled/
@ -900,6 +905,7 @@ build-static-retroarch-ctr-legacy:
stage: prepare-for-static-cores stage: prepare-for-static-cores
before_script: before_script:
- export NUMPROC=$(($(nproc)/3)) - export NUMPROC=$(($(nproc)/3))
- export ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true
artifacts: artifacts:
paths: paths:
- retroarch-precompiled/ - retroarch-precompiled/
@ -920,6 +926,7 @@ build-static-retroarch-dummy-ctr:
MEDIA_PATH: .media MEDIA_PATH: .media
before_script: before_script:
- export NUMPROC=$(($(nproc)/3)) - export NUMPROC=$(($(nproc)/3))
- export ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true
artifacts: artifacts:
paths: paths:
- retroarch_3ds.cia - retroarch_3ds.cia