Skip to content

Commit

Permalink
Added RPI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Nov 11, 2024
1 parent d1ba697 commit c4af280
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/rpi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: RasberryPi

on:
push:
branches: [ "develop", "edge", "release" ]
pull_request:
branches: [ "develop" ]

workflow_dispatch:

env:
VXT_VERSION: 1.2.0

jobs:
rpi-build:
name: RPI3
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- name: Setup
run: |
sudo apt-get update
sudo apt-get install cppcheck gcc-arm-none-eabi
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default && unzip butler.zip -d butler
#curl -L -o premake5.tar.gz https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz && mkdir premake5 && tar -xf premake5.tar.gz -C premake5
echo "${GITHUB_WORKSPACE}/butler" >> $GITHUB_PATH
#echo "${GITHUB_WORKSPACE}/premake5" >> $GITHUB_PATH
curl -L -o circle.zip https://github.com/virtualxt/circle/archive/refs/heads/master.zip && unzip circle.zip
cd circle-master
./configure -r 3 --c++17 -f
./makeall
cd ${GITHUB_WORKSPACE}
#- name: Test & Check
# run: |
# premake5 check
# make clean test

- name: Build
run: |
cd front/rpi && make
#- name: Package & Deploy
# env:
# BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
# run: if [[ $GITHUB_REF_NAME =~ ^(edge|release)$ ]]; then ./tools/package/itch/push-libretro.sh; fi

0 comments on commit c4af280

Please sign in to comment.