Skip to content

Commit c0caeb9

Browse files
authored
update(builder): Enable LibC
1 parent d095da6 commit c0caeb9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/builder.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ jobs:
3030
shell: bash
3131
run: |
3232
export CFLAGS=-fPIC
33-
make -j$(nproc)
33+
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_QJS_LIBC=ON
34+
cmake --build build -j $(nproc)
35+
3436
- name: Build - Windows
3537
if: matrix.os == 'windows-latest'
3638
working-directory: quickjs
3739
run: |
38-
cmake -B build -G "Visual Studio 17 2022" -A x64
40+
cmake -B build -G "Visual Studio 17 2022" -A x64 -DBUILD_QJS_LIBC=ON
3941
cmake --build build --config Release
4042
4143
- name: Upload Artifacts Linux
@@ -57,4 +59,4 @@ jobs:
5759
uses: actions/upload-artifact@v4
5860
with:
5961
name: Swiftly.JS.Windows
60-
path: ${{ github.workspace }}/quickjs/build/Release/qjs.lib
62+
path: ${{ github.workspace }}/quickjs/build/Release/qjs.lib

0 commit comments

Comments
 (0)