Skip to content

Commit

Permalink
add workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
gebeto committed Feb 20, 2023
1 parent 9d4a46c commit 2333e63
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [ main ]

jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: an4tur0r/flipperzero-unleashed:latest
env:
APP_NAME: xbox_controller
volumes:
- ${{ github.workspace }}:/flipperzero-unleashed/applications_user/xbox_controller
options: --cpus 1
steps:
- uses: actions/checkout@v2
- name: Check for dockerenv file
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
- name: Build
run: |
cd /flipperzero-unleashed
./fbt launch_app APPSRC=xbox_controller
# cp build/f7-firmware-D/.extapps/xbox_controller.fap applications_user/xbox_controller/

0 comments on commit 2333e63

Please sign in to comment.