Add support for multiple CS pin for SDRAM controller #1
This file contains 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: Run tests | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get submodules | |
shell: bash | |
run: git submodule update --init --recursive | |
- run: sbt ++compile | |
- run: sbt Test/compile | |
- uses: actions/cache/save@v3 | |
with: | |
path: | | |
**/ | |
key: ${{ runner.os }}-compiled-${{ github.sha }} | |
idslplugin-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt idslplugin/test | |
idslpayload-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt idslpayload/test | |
core-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.core.* -- -l spinal.tester.formal' | |
core-formal: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.core.* -- -n spinal.tester.formal' | |
sim-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt sim/test | |
tester-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.tester.* -- -l spinal.tester.formal' | |
tester-formal: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.tester.* -- -n spinal.tester.formal' | |
lib-test: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.lib.* -- -l spinal.tester.formal' | |
lib-formal: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt 'tester/testOnly spinal.lib.* -- -n spinal.tester.formal' | |
scaladoc: | |
needs: compile | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: | |
image: ghcr.io/spinalhdl/docker:master | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/get-compiled | |
- run: sbt unidoc |