chore: i don't make the rules

pull/660/head
Antonia Elsen 1 year ago
parent 0e34012227
commit 993e8e26b8
  1. 6
      .github/workflows/build.yml
  2. 6
      Makefile
  3. 16
      scripts/submodules.sh

@ -16,8 +16,10 @@ jobs:
builds: [{ rpi: 5 }, { rpi: 4 }, { rpi: 3 }, { rpi: 2 }, { rpi: 1 }] builds: [{ rpi: 5 }, { rpi: 4 }, { rpi: 3 }, { rpi: 2 }, { rpi: 1 }]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
submodules: recursive - name: Setup submodules
run: |
make submodules
- name: Install toolchain - name: Install toolchain
run: | run: |

@ -36,7 +36,11 @@ install:
.PHONY: install-toolchain .PHONY: install-toolchain
install-toolchain: install-toolchain:
@./scripts/install-toolchain.sh @./scripts/install-toolchain.sh
.PHONY: submodules
submodules:
@./scripts/submodules.sh
.PHONY: zip .PHONY: zip
zip: zip:
@./scripts/zip.sh @./scripts/zip.sh

@ -1,24 +1,24 @@
#!/bin/bash #!/bin/bash
set -ex
# echo "Updating submodules..."
# Update top-level modules as a baseline # Update top-level modules as a baseline
git submodule update --init --recursive git submodule update --init --recursive
#
# Use fixed master branch of circle-stdlib then re-update # Use fixed master branch of circle-stdlib then re-update
cd external/circle-stdlib/ cd external/circle-stdlib/
git checkout 3bd135d git checkout 3bd135d
git submodule update --init --recursive git submodule update --init --recursive
cd - cd -
#
# Optional update submodules explicitly # Optional update submodules explicitly
cd external/circle-stdlib/libs/circle cd external/circle-stdlib/libs/circle
git checkout 4155f43 git checkout 4155f43
cd - cd -
cd external/circle-stdlib/libs/circle-newlib
#git checkout develop
cd -
#
# Use fixed master branch of Synth_Dexed # Use fixed master branch of Synth_Dexed
cd external/Synth_Dexed/ cd external/Synth_Dexed/
git checkout c9f5274 git checkout c9f5274
cd - cd -
echo " Done."
Loading…
Cancel
Save