From 3b673d1ca86dc707986707bda0f6bf74cebc6fe8 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 22 Sep 2023 20:20:37 +0800 Subject: [PATCH] ... --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8f2a688..20b857bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,6 +64,28 @@ jobs: run: python3 scripts/run_tests.py benchmark - name: C Binding Test run: bash run_c_binding_test.sh + build_linux_x86: + runs-on: ubuntu-latest + steps: + - name: Setup Alpine Linux v3.15 for aarch64 + uses: jirutka/setup-alpine@v1 + with: + arch: x86 + packages: gcc g++ make cmake libc-dev linux-headers python3 + branch: v3.15 + - name: Build and Test + run: | + uname -m + mkdir build + cd build + cmake .. + cmake --build . --config Release + cp main ../ + cp libpocketpy.so ../ + cd .. + python3 scripts/run_tests.py + python3 scripts/run_tests.py benchmark + shell: alpine.sh {0} build_macos: runs-on: macos-latest steps: