Skip to content

Fix flipper path

Fix flipper path #8

on: [push]
jobs:
build_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
arch: ["rpi", "linux"]
steps:
- name: Install splashkit
run: |
curl -s https://raw.githubusercontent.com/splashkit/skm/master/install-scripts/skm-install.sh | bash
~/.splashkit/skm linux install
~/.splashkit/skm global install
- name: Clone flipper repo
uses: actions/checkout@v4
with:
path: flipper
- name: Install g++ arm
run: sudo apt-get install -y gcc-arm-linux-gnueabihf
- name: Install dotnet
run: sudo apt-get install -y dotnet-host
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Run flipper
run: |
mkdir -p build
cd build
python ../flipper/flipper.py --path flipper ${{ matrix.arch == 'rpi' && '--cs-runtime linux-arm --cpp-prefix arm-linux-gnueabihf-' }}