فهرست منبع

Change build settings

Morio 1 سال پیش
والد
کامیت
ea86d0496b
2فایلهای تغییر یافته به همراه17 افزوده شده و 18 حذف شده
  1. 15 15
      .github/workflows/firmware_build.yml
  2. 2 3
      platformio.ini

+ 15 - 15
.github/workflows/firmware_build.yml

@@ -7,10 +7,10 @@ on:
 
 jobs:
   build_firmware:
-    name: RHC-internal-Z4
-    runs-on: ubuntu-latest
+#    name: RHC-internal-Z4
 #    runs-on: self-hosted
-#    name: Build firmware on latest Ubuntu 
+    name: Build firmware on GitHub using latest Ubuntu
+    runs-on: ubuntu-latest
     
     steps:
       - name: Check out code from GitHub
@@ -39,18 +39,18 @@ jobs:
           path: ZuluSCSI/distrib/*
           name: ZuluSCSI binaries
       
-      - name: Upload to latest release
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        if: github.ref == 'refs/heads/main'
-        run: |
-          cd ZuluSCSI
-          git tag -d latest
-          git tag latest
-          git push origin --force latest
-          cd distrib
-          gh api repos/${GITHUB_REPOSITORY}/releases/tags/latest | jq -r '.assets[] | [.url] | @tsv' | xargs -n 1 gh api -X DELETE || true
-          gh release upload --repo ${GITHUB_REPOSITORY} --clobber latest *
+      # - name: Upload to latest release
+      #   env:
+      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      #   if: github.ref == 'refs/heads/main'
+      #   run: |
+      #     cd ZuluSCSI
+      #     git tag -d latest
+      #     git tag latest
+      #     git push origin --force latest
+      #     cd distrib
+      #     gh api repos/${GITHUB_REPOSITORY}/releases/tags/latest | jq -r '.assets[] | [.url] | @tsv' | xargs -n 1 gh api -X DELETE || true
+      #     gh release upload --repo ${GITHUB_REPOSITORY} --clobber latest *
 
       - name: Upload to newly created release
         env:

+ 2 - 3
platformio.ini

@@ -1,9 +1,8 @@
 ; PlatformIO Project Configuration File https://docs.platformio.org/page/projectconf.html
 
 [platformio]
-default_envs = ZuluSCSI_Pico_2
-
 ;default_envs = ZuluSCSIv1_0, ZuluSCSIv1_0_mini, ZuluSCSIv1_1_plus, ZuluSCSI_RP2040, ZuluSCSI_RP2040_Audio, ZuluSCSI_Pico, ZuluSCSI_Pico_DaynaPORT, ZuluSCSI_BS2, ZuluSCSI_Pico_2
+default_envs = ZuluSCSI_Pico_2
 
 ; Example platform to serve as a base for porting efforts
 [env:template]
@@ -293,7 +292,7 @@ build_flags =
 ;========================================
 ; ZuluSCSI RP2350 hardware platform, based on the Raspberry Pi foundation RP2350 microcontroller
 [env:ZuluSCSI_Pico_2]
-platform = https://github.com/maxgerhardt/platform-raspberrypi.git#develop
+platform = https://github.com/maxgerhardt/platform-raspberrypi.git#5e87ae34ca025274df25b3303e9e9cb6c120123c
 platform_packages =
     framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
 board_build.core = earlephilhower