From 74f2aa0c931f2765cbb09d17a337f516fa16859c Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Wed, 11 Dec 2024 22:23:30 -0800 Subject: [PATCH] Use alpine instead of Debian image for testing Alpine images are slimer --- .github/workflows/runtime.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 067c58a..4f4dd1c 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -12,19 +12,20 @@ jobs: test: name: Runtime runs-on: ubuntu-latest - container: python:3.13-bookworm + container: python:3.13-alpine3.21 steps: - uses: actions/checkout@v4 with: submodules: recursive + - name: Install CMake + run: apk add cmake - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Display CMake version + run: cmake --version - - name: Install CMake - run: apt-get update && apt-get install -y cmake - name: Install Dependencies run: pip install -e . - - name: Test run: cmake . && ctest -VV .