Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update app-testing script #603

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4a00bc9
Update app-testing script
davidmallasen Nov 28, 2024
a776de5
Remove output when simulation is successful
davidmallasen Nov 28, 2024
60a505d
Remove output when simulation times out
davidmallasen Nov 28, 2024
0485b91
Change app compilation to the test_apps.py script
davidmallasen Nov 28, 2024
a5db84a
Add failing message and fix blacklist
davidmallasen Nov 28, 2024
ec62403
Fix exiting condition and output
davidmallasen Nov 28, 2024
a51855a
Change timeout to 60s
davidmallasen Nov 28, 2024
4e9f006
Change timeout to 180s
davidmallasen Nov 28, 2024
3bf4b23
Compile with both gcc and clang
davidmallasen Dec 5, 2024
b5f1212
Add blacklist for clang apps
davidmallasen Dec 5, 2024
d3324c4
Remove unused
davidmallasen Dec 5, 2024
d32bec9
Change docker image to updated toolchain
LuigiGiuffrida98 Dec 7, 2024
1aff707
update MARCH definition
LuigiGiuffrida98 Dec 9, 2024
41b28e8
Add autocomment if compile does not complete correctly
LuigiGiuffrida98 Dec 9, 2024
6ac89b2
Fix
LuigiGiuffrida98 Dec 9, 2024
280239f
Fix
LuigiGiuffrida98 Dec 9, 2024
a01bf77
add comment
LuigiGiuffrida98 Dec 9, 2024
fd8f8b0
fix comment
LuigiGiuffrida98 Dec 9, 2024
1467bec
Remove auto comment
LuigiGiuffrida98 Dec 9, 2024
22527a2
Edit verilator waiveers
LuigiGiuffrida98 Dec 10, 2024
425f152
Add spiflash to verilator flow
LuigiGiuffrida98 Dec 10, 2024
e7fda1f
Remove lock file
LuigiGiuffrida98 Dec 12, 2024
99fa154
Update C++ std
LuigiGiuffrida98 Dec 12, 2024
bb06865
Add gen_ name
LuigiGiuffrida98 Dec 12, 2024
f05252f
Temp fix
LuigiGiuffrida98 Dec 12, 2024
b839da8
WIP
LuigiGiuffrida98 Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 0 additions & 104 deletions .github/workflows/build-apps-job/build-apps.sh

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/build-apps-job/setup.sh

This file was deleted.

25 changes: 19 additions & 6 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
name: Building tests
name: Compile all apps
on: [push, pull_request]

jobs:
test_applications:
runs-on: ubuntu-latest
container:
image: ghcr.io/esl-epfl/x-heep-toolchain:latest
name: Builds apps with gcc and clang. All must build successfully.
image: ghcr.io/vlsi-lab/x-heep-toolchain:experimental
name: Compiles all apps with gcc and clang. All must compile successfully.
steps:
- name: Checkout the pushed code.
uses: actions/checkout@v3
- name: Configure the job container and run tests.
- name: Configure the job container and compile all apps.
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
188 changes: 0 additions & 188 deletions .github/workflows/sim-apps-job/test_apps.py

This file was deleted.

Loading
Loading