Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add Cirrus CI jobs #241

Merged
merged 6 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
test_template: &test
test_script:
- command -v python3
- python3 --version
- python3 -m pip install .[test]
- python3 -m pytest

alpine-3_task:
container:
dockerfile: ci/alpine-3.docker
cpu: 1
<< : *test

archlinux_task:
container:
dockerfile: ci/archlinux.docker
cpu: 1
<< : *test

debian-11_task:
container:
dockerfile: ci/debian-11.docker
cpu: 1
fix-pip_script:
# see https://github.com/pypa/pip/pull/11623
- python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@refs/pull/11623/merge"
<< : *test

debian-unstable_task:
container:
dockerfile: ci/debian-unstable.docker
cpu: 1
fix-pip_script:
# see https://github.com/pypa/pip/pull/11623
- python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@refs/pull/11623/merge"
<< : *test

fedora-37_task:
container:
dockerfile: ci/fedora-37.docker
cpu: 1
<< : *test

manylinux-python3.11_task:
container:
dockerfile: ci/manylinux.docker
cpu: 1
env:
PATH: "/opt/python/cp311-cp311/bin/:${PATH}"
<< : *test

manylinux-python3.7_task:
container:
dockerfile: ci/manylinux.docker
cpu: 1
env:
PATH: "/opt/python/cp37-cp37m/bin/:${PATH}"
<< : *test

miniconda_task:
container:
dockerfile: ci/miniconda.docker
cpu: 1
<< : *test

opensuse-15_task:
container:
dockerfile: ci/opensuse-15.docker
cpu: 1
<< : *test
151 changes: 0 additions & 151 deletions .github/workflows/sage.yml

This file was deleted.

3 changes: 3 additions & 0 deletions ci/alpine-3.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM alpine:3
RUN apk add --no-cache python3-dev py3-pip build-base ninja git patchelf
3 changes: 3 additions & 0 deletions ci/archlinux.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM archlinux:latest
RUN pacman -Sy && pacman -S --noconfirm python python-pip gcc ninja git patchelf
3 changes: 3 additions & 0 deletions ci/debian-11.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM debian:bullseye
RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions ci/debian-unstable.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM debian:unstable
RUN apt-get update && apt-get install -y git ninja-build patchelf python3-pip python3-venv && rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions ci/fedora-37.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM fedora:37
RUN dnf -y update && dnf -y install python3-devel python3-pip gcc ninja-build git patchelf && dnf clean all
2 changes: 2 additions & 0 deletions ci/manylinux.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 20221203
FROM quay.io/pypa/manylinux_2_28_x86_64
3 changes: 3 additions & 0 deletions ci/miniconda.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM continuumio/miniconda3
RUN apt-get update && apt-get install -y gcc ninja-build git patchelf && rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions ci/opensuse-15.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 20221203
FROM opensuse/leap:latest
RUN zypper --non-interactive install python310 python310-pip python310-devel gcc ninja git patchelf && zypper clean --all && ln -s python3.10 /usr/bin/python3