CI #33
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 8 * * 6' | |
jobs: | |
verify: | |
name: Build and verify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Docker image | |
run: docker build . -t anishathalye/chroniton | |
- name: Build | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
make | |
raco make hardware/picorv32/picorv32.rkt | |
raco make hardware/ibex/ibex.rkt | |
raco make hardware/biriscv/biriscv.rkt | |
raco make hardware/otbn/otbn.rkt | |
" | |
- name: Verify picorv32-mul64 | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket picorv32-mul64.rkt | |
" | |
- name: Verify picorv32-branch-padding | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket picorv32-branch-padding.rkt | |
" | |
- name: Verify ibex-mul64 | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket ibex-mul64.rkt | |
" | |
- name: Verify ibex-branch-padding | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket ibex-branch-padding.rkt | |
" | |
- name: Verify biriscv-mul64 | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket biriscv-mul64.rkt | |
" | |
- name: Verify biriscv-branch-padding (fails) | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
! racket biriscv-branch-padding.rkt | |
" | |
- name: Verify otbn-wadd | |
run: | | |
docker run --rm -v "${PWD}/:/chroniton" -w "/chroniton/examples" anishathalye/chroniton /bin/bash -c " | |
racket otbn-wadd.rkt | |
" |