Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
type=sha,prefix=sha-
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=v9
type=raw,value=v9.1
type=raw,value=v9.1.3
type=raw,value=v9.2
type=raw,value=v9.2.0

- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
linux:
runs-on: ${{ matrix.platform.runner }}
needs: publish
if: github.event_name == 'push' && github.ref == 'refs/heads/stable'
if: github.event_name == 'push' && github.ref == 'refs/heads/stable'
strategy:
matrix:
platform:
Expand All @@ -89,10 +89,6 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
env:
# Fix ARM cross-compilation: define __ARM_ARCH for assembly files
CFLAGS_aarch64_unknown_linux_gnu: "-march=armv8-a"
CFLAGS_armv7_unknown_linux_gnueabihf: "-march=armv7-a -mfpu=neon"
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
Expand Down Expand Up @@ -145,16 +141,19 @@ jobs:
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
before-script-linux: |
if command -v apt-get >/dev/null 2>&1; then
if command -v apk >/dev/null 2>&1; then
# Alpine (musllinux)
apk add --no-cache openssl-dev pkgconfig perl make musl-dev
elif command -v apt-get >/dev/null 2>&1; then
# Debian-based
sudo apt-get update
sudo apt-get install -y pkg-config libssl-dev
sudo apt-get install -y pkg-config libssl-dev perl make gcc g++ binutils
elif command -v yum >/dev/null 2>&1; then
# CentOS-based
yum update -y
yum install -y openssl openssl-devel
yum install -y openssl openssl-devel perl perl-core make gcc gcc-c++ binutils
else
echo "Error: Neither apt-get nor yum found"
echo "Error: No supported package manager found"
exit 1
fi

Expand Down
13 changes: 12 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cloudcheck"
version = "9.1.3"
version = "9.2.0"
edition = "2024"
description = "CloudCheck is a simple Rust tool to check whether an IP address or hostname belongs to a cloud provider."
license = "GPL-3.0"
Expand All @@ -13,6 +13,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "native-tls", "http2"] }
openssl = { version = "0.10", features = ["vendored"] }
pyo3 = { version = "0.27", optional = true }
pyo3-async-runtimes = { version = "0.27", features = ["tokio-runtime"], optional = true }
radixtarget = "4.2"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "cloudcheck"
version = "9.1.3"
version = "9.2.0"
description = "Detailed database of cloud providers. Instantly look up a domain or IP address"
readme = "README.md"
requires-python = ">=3.9"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.