mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
f1e6978552
commit
708ceb8608
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -31,7 +31,14 @@ jobs:
|
|||||||
version: 15
|
version: 15
|
||||||
platform: x64
|
platform: x64
|
||||||
- name: Install libc++
|
- name: Install libc++
|
||||||
run: sudo apt install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15 libclang-rt-15-dev
|
run: sudo apt-get install -y libc++-15-dev libc++1-15 libc++abi-15-dev libc++abi1-15 libclang-rt-15-dev
|
||||||
|
- name: Unit Test with Coverage
|
||||||
|
run: bash run_tests.sh
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
directory: .coverage
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
python3 build.py linux
|
python3 build.py linux
|
||||||
@ -42,13 +49,6 @@ jobs:
|
|||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: output
|
path: output
|
||||||
- name: Unit Test
|
|
||||||
run: bash run_tests.sh
|
|
||||||
- name: Upload coverage reports to Codecov
|
|
||||||
uses: codecov/codecov-action@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
directory: .coverage
|
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
run: python3 scripts/run_tests.py benchmark
|
run: python3 scripts/run_tests.py benchmark
|
||||||
- name: GCC Build Test
|
- name: GCC Build Test
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
||||||
|
<a href="https://codecov.io/gh/blueloveTH/pocketpy" >
|
||||||
|
<img src="https://codecov.io/gh/blueloveTH/pocketpy/branch/main/graph/badge.svg?token=TI9KAFL0RG"/>
|
||||||
|
</a>
|
||||||
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
||||||
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
||||||
<a href="https://github.com/blueloveth/pocketpy/releases">
|
<a href="https://github.com/blueloveth/pocketpy/releases">
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
<a title="Build" href="https://github.com/blueloveTH/pocketpy/actions/workflows" ><img src="https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml/badge.svg" /></a>
|
||||||
|
<a href="https://codecov.io/gh/blueloveTH/pocketpy" >
|
||||||
|
<img src="https://codecov.io/gh/blueloveTH/pocketpy/branch/main/graph/badge.svg?token=TI9KAFL0RG"/>
|
||||||
|
</a>
|
||||||
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
<a href="https://github.com/blueloveth/pocketpy/blob/main/LICENSE">
|
||||||
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
<img alt="GitHub" src="https://img.shields.io/github/license/blueloveth/pocketpy.svg?color=blue"></a>
|
||||||
<a href="https://github.com/blueloveth/pocketpy/releases">
|
<a href="https://github.com/blueloveth/pocketpy/releases">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
clang++ -std=c++17 -fno-rtti --coverage -stdlib=libc++ -Wall -o pocketpy src/main.cpp
|
clang++ -std=c++17 -fno-rtti --coverage -O1 -stdlib=libc++ -Wall -o pocketpy src/main.cpp
|
||||||
python3 scripts/run_tests.py
|
python3 scripts/run_tests.py
|
||||||
rm -rf .coverage
|
rm -rf .coverage
|
||||||
mkdir -p .coverage
|
mkdir -p .coverage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user