Skip to content

Commit

Permalink
add CI running tests on qemu platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Jul 12, 2024
1 parent 4831124 commit 4214c60
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Run tests on qemu platforms
on:
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: install dependencies
run: sudo apt install gcc-arm-none-eabi qemu-user
- name: Make all
run: |
make run
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ ${builds}: build-%:
${runs}: run-%:
make -C envs/$(platform) run SOURCES='$(call totestsources,$(test))' ASMS='$(call totestasm,$(test))'

.PHONY: run
run: ${runs}

.PHONY: ${cleans}
${cleans}: clean-%:
make -C envs/$(platform) clean
Expand Down

0 comments on commit 4214c60

Please sign in to comment.