Skip to content

Commit

Permalink
windows...
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Dec 13, 2024
1 parent 465275a commit c35329d
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,26 @@ jobs:
sudo systemctl status docker.service
sudo docker run hello-world
shell: wsl-run {0}
- name: Run quickstart
run: |
- run: |
docker run -d --name quickstart -p 8000:8000 -e ENABLE_LOGS=true -e NETWORK=local -e ENABLE_SOROBAN_RPC=true --health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'" --health-interval 10s --health-timeout 5s --health-retries 50 stellar/quickstart:testing
if: runner.os != 'windows'
shell: bash
- run: |
until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do
sleep 0.1;
done;
if: runner.os != 'windows'
shell: bash
- run: |
docker run -d --name quickstart -p 8000:8000 -e ENABLE_LOGS=true -e NETWORK=local -e ENABLE_SOROBAN_RPC=true --health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'" --health-interval 10s --health-timeout 5s --health-retries 50 stellar/quickstart:testing
shell: ${{ matrix.sys.shell }}
if: runner.os == 'windows'
shell: wsl-run {0}
- run: |
until [ "`docker inspect -f {{.State.Health.Status}} quickstart`"=="healthy" ]; do
sleep 0.1;
done;
shell: ${{ matrix.sys.shell }}
if: runner.os == 'windows'
shell: wsl-run {0}
- run: rustup update
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
Expand Down

0 comments on commit c35329d

Please sign in to comment.