Copy gl-sdk library from cargo target to python's expected location #1277
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Self | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| workflow_dispatch: | |
| merge_group: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Task | |
| uses: arduino/setup-task@v2 | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| env: | |
| UV_PYTHON: 3.11 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Download CLN versions | |
| env: | |
| UV_PYTHON: 3.11 | |
| run: | | |
| cd libs/cln-version-manager | |
| uv run --extra cli python3 clnvm/cli.py get-all | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| - name: Install dependencies | |
| run: task docker:install-dependencies | |
| - name: Adjust PATH | |
| env: | |
| UV_PYTHON: 3.11 | |
| run: | | |
| echo "/home/runner/.cargo/bin" >> $GITHUB_PATH | |
| # Directory in which go-task deposits its binaries | |
| echo $(pwd)/bin >> $GITHUB_PATH | |
| echo "/tmp/bin/" >> $GITHUB_PATH | |
| - name: Rust Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| /tmp/gltesting/cargo | |
| /tmp/gltesting/target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Build binaries | |
| env: | |
| UV_PYTHON: 3.11 | |
| run: | |
| task ci-build | |
| - name: Check Self | |
| env: | |
| GL_TESTING_IGNORE_HASH: 1 | |
| PYTEST_OPTS: -n 6 | |
| UV_PYTHON: 3.11 | |
| run : | | |
| task clientpy:check | |
| task testing:check |