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
1f91a6ef1b
commit
110a9ae591
49
.github/workflows/main.yml
vendored
49
.github/workflows/main.yml
vendored
@ -82,33 +82,30 @@ jobs:
|
|||||||
path: output
|
path: output
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
run: python scripts/run_tests.py benchmark
|
run: python scripts/run_tests.py benchmark
|
||||||
build_linux_x86:
|
build_linux_multiarch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
strategy:
|
||||||
- uses: actions/checkout@v4
|
matrix:
|
||||||
with:
|
arch: [x86, aarch64, armv7]
|
||||||
submodules: true
|
steps:
|
||||||
- name: Setup Alpine Linux for aarch64
|
- uses: actions/checkout@v4
|
||||||
uses: jirutka/setup-alpine@v1
|
with:
|
||||||
with:
|
submodules: true
|
||||||
arch: x86
|
- name: Setup Alpine Linux for ${{ matrix.arch }}
|
||||||
packages: gcc g++ make cmake libc-dev linux-headers python3 gdb
|
uses: jirutka/setup-alpine@v1
|
||||||
- name: Build and Test
|
with:
|
||||||
run: |
|
arch: ${{ matrix.arch }}
|
||||||
uname -m
|
packages: gcc g++ make cmake libc-dev linux-headers python3
|
||||||
python -c "import struct; print(8 * struct.calcsize('P'))"
|
- name: Build and Test
|
||||||
|
run: |
|
||||||
|
echo "Building for architecture: ${{ matrix.arch }}"
|
||||||
|
uname -m
|
||||||
|
python -c "import struct; print(8 * struct.calcsize('P'))"
|
||||||
|
|
||||||
# python cmake_build.py Debug
|
python cmake_build.py
|
||||||
# # gdb_commands.txt
|
python scripts/run_tests.py
|
||||||
# echo "run" > gdb_commands.txt
|
python scripts/run_tests.py benchmark
|
||||||
# echo "backtrace" >> gdb_commands.txt
|
shell: alpine.sh --root {0}
|
||||||
# echo "quit" >> gdb_commands.txt
|
|
||||||
# gdb -batch -x gdb_commands.txt --args ./main tests/77_builtin_func_1.py
|
|
||||||
|
|
||||||
python cmake_build.py
|
|
||||||
python scripts/run_tests.py
|
|
||||||
python scripts/run_tests.py benchmark
|
|
||||||
shell: alpine.sh --root {0}
|
|
||||||
build_darwin:
|
build_darwin:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user