2023-06-10 14:38:33 +00:00
|
|
|
name: Build C api and run tests
|
2022-08-27 17:03:54 +00:00
|
|
|
|
|
|
|
# Build on every branch push, tag push, and pull request change:
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2022-12-15 19:06:48 +00:00
|
|
|
build_repo:
|
2023-04-30 12:48:47 +00:00
|
|
|
name: Build repo and run tests
|
2022-08-27 17:03:54 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-12-15 19:06:48 +00:00
|
|
|
- name: Checkout reposistory
|
2023-09-13 13:51:26 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-12-15 19:06:48 +00:00
|
|
|
|
2022-08-27 17:03:54 +00:00
|
|
|
- name: make
|
2022-12-15 19:07:50 +00:00
|
|
|
run: make -j $(nproc) WERROR=1
|
2022-12-15 19:06:48 +00:00
|
|
|
|
2023-02-23 16:50:05 +00:00
|
|
|
- name: Run build info checks
|
|
|
|
run: ./tests/run_build_info_checks.sh
|
|
|
|
|
2022-12-15 19:06:48 +00:00
|
|
|
- name: Run logic checks
|
2022-12-19 15:20:32 +00:00
|
|
|
run: ./tests/run_logic_checks.sh
|
|
|
|
|
|
|
|
- name: Run instruction checks
|
|
|
|
run: ./tests/run_instruction_checks.sh
|