From ccfc27021fbb58899bef080a14f039a3e302f8bd Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Wed, 11 Dec 2024 22:28:16 -0800 Subject: [PATCH] Use alpine instead of Debian image for testing (#55) * Use alpine instead of Debian image for testing Alpine images are slimer * Use alpine 3.20 --- .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..cd99c23 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.20 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 .