Fix total frequency calculation (#195) #314
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] | |
jobs: | |
rv32emu: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: install-dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev | |
sh .ci/riscv-toolchain-install.sh | |
shell: bash | |
- name: default build | |
run: make | |
- name: check + tests | |
run: | | |
make check | |
make tests | |
make misalign | |
make ENABLE_ARC=1 clean all | |
make ENABLE_ARC=1 tests | |
- name: diverse configurations | |
run: | | |
make distclean ENABLE_EXT_C=0 check | |
make distclean ENABLE_EXT_F=0 check | |
make distclean ENABLE_GDBSTUB=0 check | |
make distclean ENABLE_SDL=0 check | |
- name: architectural test | |
run: | | |
sh .ci/riscv-tests.sh | |
shell: bash | |
- name: gdbstub test | |
run: | | |
make gdbstub-test | |
coding_style: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: coding convention | |
run: | | |
sudo apt-get install -q -y clang-format-12 | |
.ci/check-newline.sh | |
.ci/check-format.sh | |
shell: bash |