Skip to content

Commit 6f5bc75

Browse files
committed
fix(ci): resolve macOS build and Pages deployment issues
- Add missing <unistd.h> include for _SC_PAGESIZE on macOS - Downgrade configure-pages action to v5 to fix TypeError
1 parent 01bec7a commit 6f5bc75

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: Setup Pages
28-
uses: actions/configure-pages@v6
28+
uses: actions/configure-pages@v5
2929
with:
3030
static_site_generator: vitepress
3131

examples/02-memory-cache/include/memory_utils.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
#include <new>
1414
#include <vector>
1515

16+
// POSIX headers for sysconf
17+
#if defined(__unix__) || defined(__APPLE__)
18+
#include <unistd.h>
19+
#endif
20+
1621
namespace hpc::memory {
1722

1823
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)