Skip to content

Add fpp-to-layout tool #594

Add fpp-to-layout tool

Add fpp-to-layout tool #594

Workflow file for this run

name: FPP CI
on:
push:
branches: [ "main", "release/**" ]
pull_request:
branches: [ "main", "release/**" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'sbt'
- name: Install Scala
run: |
curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs
chmod +x cs
echo Y | ./cs setup
- name: Install fpp tools
run: compiler/install
- name: Run sbt tests
run: |
cd compiler/
sbt test
- name: Run fpp tests
run: |
export PATH=~/.local/share/coursier/bin:$PATH
cd compiler/
./test
- name: Clean up
run: |
cd compiler/
./clean