OffensePlayTest checking that there is Never Excessive Dribbling #6723
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: Tbots CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| multiplatform-build: | |
| strategy: | |
| matrix: | |
| platform: [ ubuntu-24.04-arm ] | |
| name: Ubuntu Alternate Builds | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/environment-setup | |
| - name: Software Build Test | |
| run: | | |
| cd src | |
| bazel build --show_timestamps --copt=-O3 --verbose_failures \ | |
| -- //... -//software:unix_full_system \ | |
| -//software/simulated_tests/... \ | |
| -//software/ai/hl/... \ | |
| -//software/field_tests/... \ | |
| -//software/embedded/... \ | |
| -//toolchains/cc/... | |
| - name: Jetson Nano Build Test | |
| run: | | |
| cd src | |
| bazel build //software/embedded:thunderloop_main --copt=-O3 --//software/embedded:host_platform=NANO --platforms=//toolchains/cc:robot | |
| - name: Raspberry Pi Build Test | |
| run: | | |
| cd src | |
| bazel build //software/embedded:thunderloop_main --copt=-O3 --//software/embedded:host_platform=PI --platforms=//toolchains/cc:robot | |
| software-tests: | |
| name: Software Tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/environment-setup | |
| - name: Software Test | |
| run: | | |
| cd src | |
| bazel test --copt=-O3 --show_timestamps --verbose_failures \ | |
| -- //... -//software:unix_full_system \ | |
| -//software/simulated_tests/... \ | |
| -//software/ai/hl/... \ | |
| -//software/field_tests/... \ | |
| -//software/ai/navigator/... \ | |
| -//toolchains/cc/... | |
| robot-tests: | |
| name: Robot Software Tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/environment-setup | |
| - name: Install and start redis server | |
| run: | | |
| wget http://download.redis.io/redis-stable.tar.gz | |
| tar xvzf redis-stable.tar.gz >/dev/null | |
| cd redis-stable | |
| make >/dev/null | |
| make install >/dev/null | |
| redis-server --daemonize yes | |
| - name: Stop redis server | |
| run: | | |
| redis-cli shutdown | |
| - name: Jetson Nano Build | |
| run: | | |
| cd src | |
| bazel build //software/embedded:thunderloop_main --copt=-O3 --//software/embedded:host_platform=NANO --platforms=//toolchains/cc:robot | |
| - name: Raspberry Pi Build | |
| run: | | |
| cd src | |
| bazel build //software/embedded:thunderloop_main --copt=-O3 --//software/embedded:host_platform=PI --platforms=//toolchains/cc:robot | |
| simulated-gameplay-tests: | |
| name: Simulated Gameplay Tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/environment-setup | |
| - name: Simulated Test Run | |
| run: | | |
| cd src | |
| bazel test --copt=-O3 --flaky_test_attempts=3 --show_timestamps \ | |
| //software:unix_full_system \ | |
| //software/simulated_tests/... \ | |
| //software/ai/hl/... \ | |
| //software/ai/navigator/... | |
| - name: Upload simulated test proto logs | |
| # Ensure that simulated test logs get uploaded | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: blue-sim-test-proto-logs | |
| path: | | |
| /tmp/tbots/blue/test/*/proto_* | |
| - name: Upload simulated test proto logs | |
| # Ensure that simulated test logs get uploaded | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: yellow-sim-test-proto-logs | |
| path: | | |
| /tmp/tbots/yellow/test/*/proto_* | |
| autorefd-game: | |
| name: AutoRef'd Game (3 Minutes) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/environment-setup | |
| - name: AI vs AI (3 minutes) | |
| run: | | |
| cd src | |
| bazel run --run_under="xvfb-run" //software/thunderscope:thunderscope_main --copt=-O3 -- --enable_autoref --ci_mode | |
| - name: Upload AI vs AI logs | |
| # Ensure that simulated test logs get uploaded | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: blue-ai-vs-ai-proto-logs | |
| path: | | |
| /tmp/tbots/blue/proto_* | |
| - name: Upload AI vs AI logs | |
| # Ensure that simulated test logs get uploaded | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: yellow-ai-vs-ai-proto-logs | |
| path: | | |
| /tmp/tbots/yellow/proto_* |