Skip to content

Commit

Permalink
Use alpine instead of Debian image for testing (#55)
Browse files Browse the repository at this point in the history
* Use alpine instead of Debian image for testing

Alpine images are slimer

* Use alpine 3.20
  • Loading branch information
xuhdev authored Dec 12, 2024
1 parent 851f9ac commit ccfc270
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

0 comments on commit ccfc270

Please sign in to comment.