Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .github/workflows/vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:

- name: Tests
run: |
cmake -Bbuild -Htests/
# CMakeTestCXXCompiler.cmake fails with ledger-app-builder image
cmake -DCMAKE_CXX_COMPILER_FORCED=1 -Bbuild -Htests/
make -C build/
make -C build/ test

Expand Down
3 changes: 3 additions & 0 deletions vm/src/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#include <stdint.h>

// PAGE_SIZE can be defined by libc headers, for test targets
#undef PAGE_SIZE

#define PAGE_SIZE 256
#define PAGE_MASK ~(PAGE_SIZE - 1)

Expand Down