agentcourier 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,82 @@
1
+ name: ci
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ tags: ["v*"]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ # Intel macOS runners: the arm64 pool is often capacity-constrained and never starts the job.
14
+ os: [ubuntu-latest, macos-15-intel, windows-latest]
15
+ runs-on: ${{ matrix.os }}
16
+ timeout-minutes: 30
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - run: cargo test --locked
20
+
21
+ release:
22
+ if: startsWith(github.ref, 'refs/tags/v')
23
+ needs: test
24
+ permissions:
25
+ contents: write
26
+ strategy:
27
+ matrix:
28
+ include:
29
+ - { os: ubuntu-latest, target: x86_64-unknown-linux-musl, ext: "" }
30
+ - { os: macos-latest, target: aarch64-apple-darwin, ext: "" }
31
+ - { os: windows-latest, target: x86_64-pc-windows-msvc, ext: ".exe" }
32
+ runs-on: ${{ matrix.os }}
33
+ steps:
34
+ - uses: actions/checkout@v4
35
+ - run: rustup target add ${{ matrix.target }}
36
+ - if: matrix.target == 'x86_64-unknown-linux-musl'
37
+ run: sudo apt-get update && sudo apt-get install -y musl-tools
38
+ - run: cargo build --release --locked --target ${{ matrix.target }}
39
+ - shell: bash
40
+ run: mv target/${{ matrix.target }}/release/agentcourier${{ matrix.ext }} agentcourier-${{ matrix.target }}${{ matrix.ext }}
41
+ - uses: softprops/action-gh-release@v2
42
+ with:
43
+ files: agentcourier-*
44
+
45
+ # pip packages with the ready-built program, so `pip install agentcourier` needs no Rust.
46
+ wheels:
47
+ needs: test
48
+ strategy:
49
+ fail-fast: false
50
+ matrix:
51
+ include:
52
+ - { os: ubuntu-latest, target: x86_64 }
53
+ - { os: ubuntu-latest, target: aarch64 }
54
+ - { os: macos-latest, target: universal2-apple-darwin }
55
+ - { os: windows-latest, target: x64 }
56
+ runs-on: ${{ matrix.os }}
57
+ timeout-minutes: 30
58
+ steps:
59
+ - uses: actions/checkout@v4
60
+ - uses: PyO3/maturin-action@v1
61
+ with:
62
+ target: ${{ matrix.target }}
63
+ manylinux: auto
64
+ args: --release --locked --out dist
65
+ - uses: actions/upload-artifact@v4
66
+ with:
67
+ name: wheels-${{ matrix.os }}-${{ matrix.target }}
68
+ path: dist
69
+
70
+ sdist:
71
+ needs: test
72
+ runs-on: ubuntu-latest
73
+ steps:
74
+ - uses: actions/checkout@v4
75
+ - uses: PyO3/maturin-action@v1
76
+ with:
77
+ command: sdist
78
+ args: --out dist
79
+ - uses: actions/upload-artifact@v4
80
+ with:
81
+ name: wheels-sdist
82
+ path: dist
@@ -0,0 +1,3 @@
1
+ /target
2
+ .env
3
+ /dist