Skip to content

Commit

Permalink
Change app compilation to the test_apps.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmallasen committed Nov 28, 2024
1 parent 60a505d commit 0485b91
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ jobs:
uses: actions/checkout@v3
- name: Configure the job container and run tests.
run: |
chmod u+x ./.github/workflows/build-apps-job/setup.sh
./.github/workflows/build-apps-job/setup.sh
# Create the virtual environment and install the requirements.
conda init bash
source /root/.bashrc
conda activate core-v-mini-mcu
make clean-all
# All peripherals are included to make sure all apps can be built.
sed 's/is_included: "no",/is_included: "yes",/' -i mcu_cfg.hjson
sed 's/num_channels: 0x1,/num_channels: 0x4,/' -i mcu_cfg.hjson
sed 's/num_channels_per_master_port: 0x1,/num_channels_per_master_port: 0x4,/' -i mcu_cfg.hjson
# The MCU is generated with various memory banks to avoid example code not fitting.
make mcu-gen X_HEEP_CFG=configs/ci.hjson
python3 .github/workflows/test-apps/test_apps.py --compile-only

0 comments on commit 0485b91

Please sign in to comment.