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
c274ff05cd
commit
cd53a746f4
47
.github/workflows/main.yml
vendored
47
.github/workflows/main.yml
vendored
@ -82,30 +82,6 @@ jobs:
|
||||
path: output
|
||||
- name: Benchmark
|
||||
run: python scripts/run_tests.py benchmark
|
||||
build_linux_multiarch:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [x86, aarch64, armv7]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Setup Alpine Linux for ${{ matrix.arch }}
|
||||
uses: jirutka/setup-alpine@v1
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
packages: gcc g++ make cmake libc-dev linux-headers python3
|
||||
- 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
|
||||
python scripts/run_tests.py
|
||||
python scripts/run_tests.py benchmark
|
||||
shell: alpine.sh --root {0}
|
||||
build_darwin:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
@ -167,6 +143,29 @@ jobs:
|
||||
with:
|
||||
name: ios
|
||||
path: output
|
||||
build_linux_multiarch:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [x86, aarch64, armv7]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: Setup Alpine Linux for ${{ matrix.arch }}
|
||||
uses: jirutka/setup-alpine@v1
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
packages: gcc g++ make cmake libc-dev linux-headers python3
|
||||
- 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
|
||||
python scripts/run_tests.py
|
||||
shell: alpine.sh --root {0}
|
||||
|
||||
merge:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user