mirror of
https://github.com/libretro/RetroArch
synced 2024-12-26 21:29:08 +00:00
39 lines
855 B
YAML
39 lines
855 B
YAML
name: CI DOS/DJGPP
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
repository_dispatch:
|
|
types: [run_build]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: git.libretro.com:5050/libretro-infrastructure/libretro-djgpp-build-container:latest
|
|
options: --user root
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Compile RA
|
|
run: |
|
|
make -f Makefile.dos -j$(getconf _NPROCESSORS_ONLN) clean
|
|
make -f Makefile.dos -j$(getconf _NPROCESSORS_ONLN) HAVE_STATIC_DUMMY=1
|
|
|
|
- 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-DOS-dummy-${{ steps.slug.outputs.sha8 }}
|
|
path: |
|
|
retrodos.exe
|