mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
0ee5c5add6
commit
97515819d7
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -61,8 +61,8 @@ jobs:
|
||||
path: output
|
||||
- name: Benchmark
|
||||
run: python3 scripts/run_tests.py benchmark
|
||||
- name: C Binding Test
|
||||
run: bash run_c_binding_test.sh
|
||||
# - name: C Binding Test
|
||||
# run: bash run_c_binding_test.sh
|
||||
build_macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
|
@ -1,6 +1,6 @@
|
||||
python3 prebuild.py
|
||||
SRC=$(find src/ -name "*.cpp")
|
||||
clang++ -pg -O1 -std=c++17 -fno-rtti -stdlib=libc++ -Wfatal-errors -o main $SRC -Iinclude
|
||||
clang++ -pg -O1 -std=c++17 -fno-rtti -stdlib=libc++ -Wfatal-errors -o main $SRC -Iinclude -ldl
|
||||
time ./main benchmarks/fib.py
|
||||
mv benchmarks/gmon.out .
|
||||
gprof pocketpy gmon.out > gprof.txt
|
||||
|
@ -1,6 +1,6 @@
|
||||
python3 prebuild.py
|
||||
SRC=$(find src/ -name "*.cpp")
|
||||
clang++ -std=c++17 -fno-rtti --coverage -O1 -stdlib=libc++ -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude
|
||||
clang++ -std=c++17 -fno-rtti --coverage -O1 -stdlib=libc++ -Wfatal-errors -o main src2/main.cpp $SRC -Iinclude -ldl
|
||||
python3 scripts/run_tests.py
|
||||
rm -rf .coverage
|
||||
mkdir .coverage
|
||||
|
Loading…
x
Reference in New Issue
Block a user