mirror of
https://github.com/daywalker90/cln-nip47.git
synced 2026-08-13 12:33:43 +02:00
CI: use specific python versions per CLN version
This commit is contained in:
parent
af306edd3a
commit
fb972c5ed1
11 changed files with 55 additions and 49 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
|
@ -17,6 +17,12 @@ on:
|
|||
tagged-release:
|
||||
required: true
|
||||
type: boolean
|
||||
python-version-1:
|
||||
required: true
|
||||
type: string
|
||||
python-version-2:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -27,7 +33,7 @@ jobs:
|
|||
bitcoind-version: ["31.0"]
|
||||
experimental: [1]
|
||||
deprecated: [0]
|
||||
python-version: ["3.10", "3.14"]
|
||||
python-version: [ "${{ inputs.python-version-1 }}", "${{ inputs.python-version-2 }}"]
|
||||
os: ["ubuntu-latest"]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
@ -119,25 +125,21 @@ jobs:
|
|||
key: ${{ steps.cache-cln.outputs.cache-primary-key }}
|
||||
|
||||
- name: Set up Rust
|
||||
if: ${{ inputs.tagged-release == false}}
|
||||
if: ${{ inputs.tagged-release == false }}
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Set up protoc
|
||||
if: ${{ inputs.tagged-release == false}}
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install cargo-binstall
|
||||
if: ${{ inputs.tagged-release == false}}
|
||||
if: ${{ inputs.tagged-release == false }}
|
||||
uses: taiki-e/install-action@cargo-binstall
|
||||
|
||||
- name: Install cargo-msrv
|
||||
if: ${{ inputs.tagged-release == false}}
|
||||
if: ${{ inputs.tagged-release == false }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
run: cargo binstall --no-confirm cargo-msrv
|
||||
|
||||
- name: Verify MSRV
|
||||
if: ${{ inputs.tagged-release == false}}
|
||||
if: ${{ inputs.tagged-release == false }}
|
||||
run: cargo msrv verify
|
||||
|
||||
- name: Get plugin binary
|
||||
|
|
|
|||
14
.github/workflows/latest_v25.05.yml
vendored
14
.github/workflows/latest_v25.05.yml
vendored
|
|
@ -1,14 +0,0 @@
|
|||
name: Latest release on CLN v25.05.x
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published, edited]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.05"
|
||||
pyln-version: "25.5"
|
||||
tagged-release: true
|
||||
6
.github/workflows/latest_v25.09.yml
vendored
6
.github/workflows/latest_v25.09.yml
vendored
|
|
@ -9,6 +9,8 @@ jobs:
|
|||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.09.2"
|
||||
pyln-version: "25.9.2"
|
||||
cln-version: "v25.09.3"
|
||||
pyln-version: "25.9.3"
|
||||
tagged-release: true
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
8
.github/workflows/latest_v25.12.yml
vendored
8
.github/workflows/latest_v25.12.yml
vendored
|
|
@ -9,6 +9,8 @@ jobs:
|
|||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.12"
|
||||
pyln-version: "25.12"
|
||||
tagged-release: true
|
||||
cln-version: "v25.12.1"
|
||||
pyln-version: "25.12.1"
|
||||
tagged-release: true
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
2
.github/workflows/latest_v26.04.yml
vendored
2
.github/workflows/latest_v26.04.yml
vendored
|
|
@ -12,3 +12,5 @@ jobs:
|
|||
cln-version: "v26.04"
|
||||
pyln-version: "26.4"
|
||||
tagged-release: true
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
16
.github/workflows/latest_v26.06.yml
vendored
Normal file
16
.github/workflows/latest_v26.06.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: Latest release on CLN v26.06.x
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published, edited]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v26.06.6"
|
||||
pyln-version: "26.6.6"
|
||||
tagged-release: true
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.14"
|
||||
6
.github/workflows/master_v25.09.yml
vendored
6
.github/workflows/master_v25.09.yml
vendored
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.09.2"
|
||||
pyln-version: "25.9.2"
|
||||
cln-version: "v25.09.3"
|
||||
pyln-version: "25.9.3"
|
||||
tagged-release: false
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
6
.github/workflows/master_v25.12.yml
vendored
6
.github/workflows/master_v25.12.yml
vendored
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.12"
|
||||
pyln-version: "25.12"
|
||||
cln-version: "v25.12.1"
|
||||
pyln-version: "25.12.1"
|
||||
tagged-release: false
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
2
.github/workflows/master_v26.04.yml
vendored
2
.github/workflows/master_v26.04.yml
vendored
|
|
@ -22,3 +22,5 @@ jobs:
|
|||
cln-version: "v26.04"
|
||||
pyln-version: "26.4"
|
||||
tagged-release: false
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.12"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
name: master on CLN v25.05.x
|
||||
name: master on CLN v26.06.x
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -19,6 +19,8 @@ jobs:
|
|||
call-ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
with:
|
||||
cln-version: "v25.05"
|
||||
pyln-version: "25.5"
|
||||
cln-version: "v26.06.6"
|
||||
pyln-version: "26.6.6"
|
||||
tagged-release: false
|
||||
python-version-1: "3.10"
|
||||
python-version-2: "3.14"
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -25,12 +25,6 @@ jobs:
|
|||
sudo apt update
|
||||
sudo apt install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: "21.12"
|
||||
|
||||
- name: Build Linux binaries (release)
|
||||
run: |
|
||||
cargo build --profile optimized --locked --target x86_64-unknown-linux-gnu
|
||||
|
|
@ -70,12 +64,6 @@ jobs:
|
|||
with:
|
||||
targets: x86_64-apple-darwin, aarch64-apple-darwin
|
||||
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
version: "21.12"
|
||||
|
||||
- name: Build macOS universal (release)
|
||||
id: build
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue