Skip to content

Commit

Permalink
CI: run lspd without binary
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Jun 17, 2024
1 parent f3f7509 commit b7b6668
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .github/actions/build-lspd/action.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Build LSPD'
description: 'Build LSPD and upload the build artifacts.'
name: 'Build LSPD CLN plugin'
description: 'Build LSPD CLN plugin and upload the build artifacts.'
runs:
using: 'composite'
steps:
Expand All @@ -14,13 +14,11 @@ runs:
go-version: '1.21'

- name: build
run: make release-all
run: make release-plugin
shell: bash

- name: upload lspd artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
lspd
lspd_cln_plugin
path: lspd_cln_plugin
5 changes: 1 addition & 4 deletions .github/actions/test-lspd/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ runs:
name: build-artifacts

- name: Set permissions
run: |
chmod 755 lspd
chmod 755 lspd_cln_plugin
run: chmod 755 lspd_cln_plugin
shell: bash

- name: Cache LND client
Expand Down Expand Up @@ -127,7 +125,6 @@ runs:
--lndexec ~/go_lnd_lsp/bin/lnd \
--lndmobileexec ~/go_lnd_client/bin/lnd \
--clnpluginexec ${{ github.workspace }}/lspd_cln_plugin \
--lspdexec ${{ github.workspace }}/lspd \
--preservelogs \
--testdir /home/runner/test_state || echo "step_failed=true" >> $GITHUB_ENV
shell: bash
Expand Down

0 comments on commit b7b6668

Please sign in to comment.