* SampleRate=48000

https://github.com/probonopd/MiniDexed/discussions/836#discussioncomment-12875015

* runs-on: ubuntu-22.04

* Comment out retention-days

[ci skip] 

https://github.com/soyersoyer/MiniDexed/pull/5#issuecomment-2815324521

* List files

* Zip after adding hardware
pull/840/head
probonopd 2 months ago committed by GitHub
parent 29bbce3472
commit 2e7ce26669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      .github/workflows/build.yml
  2. 2
      hwconfig/DT-DX.override

@ -11,7 +11,7 @@ on:
jobs:
Build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
@ -81,10 +81,6 @@ jobs:
run: |
git clone https://github.com/Banana71/Soundplantage --depth 1 # depth 1 means only the latest commit
cp -r ./Soundplantage/performance ./Soundplantage/*.pdf ./sdcard/
cd sdcard
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip *
echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
cd -
- name: Hardware configration files
run: |
cd hwconfig
@ -92,11 +88,17 @@ jobs:
cd -
mkdir -p ./sdcard/hardware/
cp -r ./hwconfig/minidexed_* ./sdcard/minidexed.ini ./sdcard/hardware/
- name: zip
run: |
cd sdcard
zip -r ../MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD).zip *
echo "artifactName=MiniDexed_$GITHUB_RUN_NUMBER_$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
cd -
- uses: actions/upload-artifact@v4
with:
name: ${{ env.artifactName }} # Exported above
path: ./sdcard/*
retention-days: 14 # To not exceed the free MB/month quota so quickly
# retention-days: 14 # To not exceed the free MB/month quota so quickly
- name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }}
run: |

@ -2,7 +2,7 @@
# https://www.dtronics.nl/dt-dx
SoundDevice=i2s
SampleRate=22000
SampleRate=48000
ChunkSize=256
DACI2CAddress=0x0
ChannelsSwapped=1

Loading…
Cancel
Save