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
33 changes: 33 additions & 0 deletions .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Install

on:
push:
branches: [main, release/**]
paths:
- install.sh
- test_install.rb
pull_request:
paths:
- install.sh
- test_install.rb

concurrency:
group:
${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha ||
github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:
test-install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
with:
ruby-version: ruby
- name: Run install tests
run: ruby test_install.rb
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ For installation options, run the script with `--help`:
curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh -s -- --help
```

Install with dependency setup (`--install-deps`) to attempt installing:

- Linux development dependencies (`libdbus`/`libudev` development packages; Linux only, not required on macOS)
- Rust toolchain and `wasm32v1-none` target (for contract build workflows)

```sh
curl -fsSL https://github.com/stellar/stellar-cli/raw/main/install.sh | sh -s -- --install-deps
```

Install with Homebrew (macOS, Linux):

```sh
Expand Down
Loading