From 23b6b8d70756041c5e5a62acaff2d426e36313e6 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 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 067c58a..c5d1495 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -12,19 +12,23 @@ jobs: test: name: Runtime runs-on: ubuntu-latest - container: python:3.13-bookworm + container: python:3.13-alpine3.21 steps: + - name: Install Alpine Dependencies + run: apk add cmake git make + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Display CMake version + run: cmake --version + - name: Display Git version + run: git --version + - uses: actions/checkout@v4 with: submodules: recursive - - name: Display Python version - run: python -c "import sys; print(sys.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 .