Skip to content

CI testing

CI testing #79

Workflow file for this run

name: CI (PSP)
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: build environment
run: |
whoami
docker build -f .github/workflows/Dockerfile-psp -t build-psp .
- name: build
run: |
ver=$(cut -d'"' -f2 platform/common/version.h)-$(git rev-parse --short HEAD)
dock="docker run -i -v $PWD:/home/picodrive -w /home/picodrive build-psp"
$dock sh -c "git config --global --add safe.directory /home/picodrive"
$dock sh -c "CROSS_COMPILE=psp- ./configure --platform=psp"
$dock sh -c "CROSS_COMPILE=psp- make"
$dock sh -c "make -C platform/psp rel VER=$ver"
- name: artifacts
uses: actions/upload-artifact@v3
with:
name: build result
path: PicoDrive_psp_*.zip