Update README.md with link to cuda toolkit installation #210
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: Scuda CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci | |
| jobs: | |
| tailscale_job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Tailscale | |
| uses: tailscale/github-action@v2 | |
| with: | |
| oauth-client-id: k4oU8AFYf121CNTRL | |
| oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | |
| tags: tag:ci,tag:production | |
| - name: Verify Tailscale IP | |
| run: tailscale ip | |
| - name: Run tests | |
| run: | | |
| ssh -o StrictHostKeyChecking=no root@100.118.7.128 'bash -s' <<'EOF' | |
| #!/bin/bash | |
| cd /home/brodey/scuda-latest | |
| ls | |
| SCUDA_PORT=14834 ./local.sh server & | |
| sleep 5 | |
| export SCUDA_SERVER=0.0.0.0:14834 | |
| test_output=$(./local.sh test_ci) | |
| test_exit_code=$? | |
| if [ $test_exit_code -eq 0 ]; then | |
| echo "Tests passed successfully!" | |
| fi | |
| ps aux | grep -E 'server_[0-9]+\.[0-9]+' | grep -v grep | awk '{print $2}' | xargs -r kill -TERM | |
| echo "server process and its children terminated. exiting..." | |
| exit $test_exit_code | |
| EOF |