Skip to content

Commit

Permalink
Replace checkout action, remove upload
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zoltanvb committed Nov 26, 2024
1 parent 0b05b1e commit ae042a6
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 53 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/3DS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile Salamander
run: |
Expand All @@ -34,9 +34,3 @@ jobs:
- name: Get short SHA
id: slug
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
7 changes: 1 addition & 6 deletions .github/workflows/Emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile RA
run: |
Expand All @@ -31,8 +31,3 @@ jobs:
id: slug
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
7 changes: 1 addition & 6 deletions .github/workflows/GameCube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile RA
run: |
Expand All @@ -30,8 +30,3 @@ jobs:
id: slug
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
8 changes: 1 addition & 7 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Check Out Repo
uses: actions/checkout@v3
uses: taiki-e/checkout-action@v1

- name: Configure Build
run: |
Expand All @@ -35,9 +35,3 @@ jobs:
- name: Get short SHA
id: slug
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
7 changes: 1 addition & 6 deletions .github/workflows/Wii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile Salamander
run: |
Expand All @@ -35,8 +35,3 @@ jobs:
id: slug
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
8 changes: 1 addition & 7 deletions .github/workflows/WiiU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile Salamander
run: |
Expand All @@ -34,9 +34,3 @@ jobs:
- name: Get short SHA
id: slug
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
8 changes: 1 addition & 7 deletions .github/workflows/Windows-i686-MXE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile RA
run: |
Expand All @@ -32,9 +32,3 @@ jobs:
- name: Get short SHA
id: slug
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
8 changes: 1 addition & 7 deletions .github/workflows/Windows-x64-MXE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: --user root

steps:
- uses: actions/checkout@v3
- uses: taiki-e/checkout-action@v1

- name: Compile RA
run: |
Expand All @@ -32,9 +32,3 @@ jobs:
- name: Get short SHA
id: slug
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
7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ stages:
- prepare-for-static-cores
- trigger-static-cores

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

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

0 comments on commit ae042a6

Please sign in to comment.