From bcbc1410d480263365dda04edacc9c3952ca4d90 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Tue, 30 Jan 2024 10:08:18 -0800 Subject: [PATCH 1/2] Add AArch64 macOS to JIT CI --- .github/workflows/jit.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index e137fd21b0a0dd..173510c5ab3ec5 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -16,6 +16,7 @@ jobs: - i686-pc-windows-msvc/msvc - x86_64-pc-windows-msvc/msvc - x86_64-apple-darwin/clang + - aarch64-apple-darwin/clang - x86_64-unknown-linux-gnu/gcc - x86_64-unknown-linux-gnu/clang - aarch64-unknown-linux-gnu/gcc @@ -36,9 +37,14 @@ jobs: compiler: msvc - target: x86_64-apple-darwin/clang architecture: x86_64 - runner: macos-latest + runner: macos-13 compiler: clang - exclude: test_embed + # exclude: test_embed + - target: aarch64-apple-darwin/clang + architecture: aarch64 + runner: macos-14 + compiler: clang + # exclude: test_embed - target: x86_64-unknown-linux-gnu/gcc architecture: x86_64 runner: ubuntu-latest @@ -80,7 +86,7 @@ jobs: brew install llvm@${{ matrix.llvm }} export SDKROOT="$(xcrun --show-sdk-path)" ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }} - make all --jobs 3 + make all --jobs 4 ./python.exe -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3 - name: Native Linux @@ -91,6 +97,7 @@ jobs: ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }} make all --jobs 4 ./python -m test --exclude ${{ matrix.exclude }} --multiprocess 0 --timeout 3600 --verbose2 --verbose3 + - name: Emulated Linux if: runner.os == 'Linux' && matrix.architecture != 'x86_64' run: | From dda3dead365e39c6eabcbf8702ee2f0d2b088843 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Tue, 30 Jan 2024 10:41:38 -0800 Subject: [PATCH 2/2] Don't exclude test_embed --- .github/workflows/jit.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 173510c5ab3ec5..3da72919181255 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -39,12 +39,10 @@ jobs: architecture: x86_64 runner: macos-13 compiler: clang - # exclude: test_embed - target: aarch64-apple-darwin/clang architecture: aarch64 runner: macos-14 compiler: clang - # exclude: test_embed - target: x86_64-unknown-linux-gnu/gcc architecture: x86_64 runner: ubuntu-latest