mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Update main.yml
This commit is contained in:
parent
25ecb9d65d
commit
ed1e75324e
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -15,14 +15,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 build.py windows
|
python3 build.py windows
|
||||||
python3 build.py windows -lib
|
python3 build.py windows -lib
|
||||||
python3 scripts/run_tests.py
|
|
||||||
python3 scripts/run_tests.py benchmark
|
|
||||||
mkdir -p output/windows/x86_64
|
mkdir -p output/windows/x86_64
|
||||||
mv pocketpy.exe output/windows/x86_64
|
cp pocketpy.exe output/windows/x86_64
|
||||||
mv pocketpy.dll output/windows/x86_64
|
cp pocketpy.dll output/windows/x86_64
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: output
|
path: output
|
||||||
|
- name: Unit Test
|
||||||
|
run: python3 scripts/run_tests.py
|
||||||
|
- name: Benchmark
|
||||||
|
run: python3 scripts/run_tests.py benchmark
|
||||||
build_web:
|
build_web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -73,14 +75,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python3 build.py linux
|
python3 build.py linux
|
||||||
python3 build.py linux -lib
|
python3 build.py linux -lib
|
||||||
python3 scripts/run_tests.py
|
|
||||||
python3 scripts/run_tests.py benchmark
|
|
||||||
mkdir -p output/linux/x86_64
|
mkdir -p output/linux/x86_64
|
||||||
mv pocketpy output/linux/x86_64
|
cp pocketpy output/linux/x86_64
|
||||||
mv pocketpy.so output/linux/x86_64
|
cp pocketpy.so output/linux/x86_64
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: output
|
path: output
|
||||||
|
- name: Unit Test
|
||||||
|
run: python3 scripts/run_tests.py
|
||||||
|
- name: Benchmark
|
||||||
|
run: python3 scripts/run_tests.py benchmark
|
||||||
build_android:
|
build_android:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user