Просмотр исходного кода

Revert "Merge chess from https://github.com/xMasterX/all-the-plugins"

This reverts commit f541d1bd1d49269435dec8e9d0aac7b17dc46cb9, reversing
changes made to 38c5faaf252c723de3e4d745bfc149b5c8757836.
Willy-JL 2 лет назад
Родитель
Сommit
faccd79bee

+ 5 - 3
chess/.github/workflows/build.yml

@@ -20,11 +20,13 @@ jobs:
           repository: 'flipperdevices/flipperzero-firmware'
           ref: ${{ env.firmware_version }}
           submodules: true
-      - name: Checkout flip-chess
+      - name: Checkout flipper-chess
         uses: actions/checkout@v3
         with:
           path: 'applications_user/flipper-chess'
       - name: Build FAPs
         run: ./fbt COMPACT=1 DEBUG=0 faps
-      - name: Check flip-chess Built
-        run: test -f build/f7-firmware-C/.extapps/flipchess.fap
+      - name: Check flipper-chess Built
+        run: test -f build/f7-firmware-C/.extapps/chess.fap
+      - name: Check flipper-chess Size
+        run: ls -l --block-size=K build/f7-firmware-C/.extapps/chess.fap

+ 2 - 2
chess/.github/workflows/release.yml

@@ -26,7 +26,7 @@ jobs:
       - name: Build FAPs
         run: ./fbt COMPACT=1 DEBUG=0 faps
       - name: Check flipper-chess Built
-        run: test -f build/f7-firmware-C/.extapps/flipchess.fap
+        run: test -f build/f7-firmware-C/.extapps/chess.fap
       - name: Get Tag
         id: tag
         uses: dawidd6/action-get-tag@v1
@@ -36,7 +36,7 @@ jobs:
         uses: softprops/action-gh-release@v1
         with:
           files: |
-            build/f7-firmware-C/.extapps/flipchess.fap
+            build/f7-firmware-C/.extapps/chess.fap
             applications_user/flipper-chess/README.md
           name: ${{steps.tag.outputs.tag}}
           body: Built against Flipper Zero firmware v${{ env.firmware_version }}

+ 35 - 0
chess/.github/workflows/ufbt_build.yaml

@@ -0,0 +1,35 @@
+name: "FAP: Build for multiple SDK sources"
+on:
+  push:
+    branches: 
+      - main
+      - develop
+  pull_request:
+  # schedule: 
+    # do a build every day
+    # - cron: "1 1 * * *"
+jobs:
+  ufbt-build-action:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        include:
+          - name: dev channel
+            sdk-channel: dev
+          - name: release channel
+            sdk-channel: release
+    name: 'ufbt: Build for ${{ matrix.name }}'
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - name: Build with ufbt
+        uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
+        id: build-app
+        with:
+          sdk-channel: ${{ matrix.sdk-channel }}
+          sdk-index-url: ${{ matrix.sdk-index-url }}
+      - name: Upload app artifacts
+        uses: actions/upload-artifact@v3
+        with:
+          name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
+          path: ${{ steps.build-app.outputs.fap-artifacts }}

+ 7 - 0
chess/README.md

@@ -1,8 +1,15 @@
 # flipper-chess
 
+[![Build](https://github.com/xtruan/flipper-chess/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/xtruan/flipper-chess/actions/workflows/build.yml)
+
+`HOW ABOUT A NICE GAME OF CHESS?`
+
+![FLIPR](https://github.com/xtruan/flipper-chess/blob/main/icons/FLIPR_128x64.png)
+
 ## Chess game for Flipper Zero
 - Built against `0.86.1` Flipper Zero firmware release
 - Uses [smallchesslib](https://codeberg.org/drummyfish/smallchesslib)
+- Included in [RogueMaster Custom Firmware](https://github.com/RogueMaster/flipperzero-firmware-wPlugins)
 
 ### Installation
 

BIN
chess/catalog/browser.png


BIN
chess/catalog/game1.png


BIN
chess/catalog/game2.png


BIN
chess/catalog/game3.png


BIN
chess/catalog/game4.png


BIN
chess/catalog/game5.png


+ 16 - 0
chess/catalog/manifest.yml

@@ -0,0 +1,16 @@
+sourcecode:
+  type: git
+  location:
+    origin: https://github.com/xtruan/flipper-chess.git
+    commit_sha: c340eb5ec6a68f9e1213d725002d25812bbe989b
+description: "How about a nice game of chess?"
+changelog: "v1.9.0 - Gameplay enhancements and bug fixes"
+author: "@xtruan"
+screenshots:
+  - "./catalog/startscreen.png"
+  - "./catalog/menu.png"
+  - "./catalog/game2.png"
+  - "./catalog/game3.png"
+  - "./catalog/game4.png"
+  - "./catalog/game5.png"
+  - "./catalog/settings.png"

BIN
chess/catalog/menu.png


BIN
chess/catalog/settings.png


BIN
chess/catalog/startscreen.png