|
28 | 28 | https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
29 | 29 | env:
|
30 | 30 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
| 31 | + |
| 32 | + rt-ci-linux: |
| 33 | + runs-on: ubuntu-20.04 |
| 34 | + continue-on-error: ${{ matrix.experimental || false }} |
| 35 | + defaults: |
| 36 | + run: |
| 37 | + working-directory: cortex-m-rt |
| 38 | + steps: |
| 39 | + - uses: actions/checkout@v2 |
| 40 | + - uses: actions-rs/toolchain@v1 |
| 41 | + with: |
| 42 | + profile: minimal |
| 43 | + toolchain: stable |
| 44 | + override: true |
| 45 | + - name: Install all Rust targets for stable |
| 46 | + run: rustup target install --toolchain=stable thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf |
| 47 | + - name: Install qemu and gcc |
| 48 | + run: sudo apt-get update && sudo apt-get install qemu-system-arm gcc-arm-none-eabi |
| 49 | + - name: Run CI script for x86_64-unknown-linux-gnu under stable |
| 50 | + run: TARGET=x86_64-unknown-linux-gnu TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 51 | + - name: Run CI script for thumbv6m-none-eabi under stable |
| 52 | + run: TARGET=thumbv6m-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 53 | + - name: Run CI script for thumbv7m-none-eabi under stable |
| 54 | + run: TARGET=thumbv7m-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 55 | + - name: Run CI script for thumbv7em-none-eabi under stable |
| 56 | + run: TARGET=thumbv7em-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 57 | + - name: Run CI script for thumbv7em-none-eabihf under stable |
| 58 | + run: TARGET=thumbv7em-none-eabihf TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 59 | + - name: Run CI script for thumbv8m.base-none-eabi under stable |
| 60 | + run: TARGET=thumbv8m.base-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 61 | + - name: Run CI script for thumbv8m.main-none-eabi under stable |
| 62 | + run: TARGET=thumbv8m.main-none-eabi TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 63 | + - name: Run CI script for thumbv8m.main-none-eabihf under stable |
| 64 | + run: TARGET=thumbv8m.main-none-eabihf TRAVIS_RUST_VERSION=stable bash ci/script.sh |
| 65 | + - uses: imjohnbo/issue-bot@v2 |
| 66 | + if: failure() |
| 67 | + with: |
| 68 | + title: CI Failure |
| 69 | + labels: ci |
| 70 | + body: | |
| 71 | + Scheduled CI run failed. Details: |
| 72 | +
|
| 73 | + https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |
| 74 | + env: |
| 75 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments