diff --git a/.github/workflows/run.yaml b/.github/workflows/run.yaml new file mode 100644 index 0000000..c56f6db --- /dev/null +++ b/.github/workflows/run.yaml @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index 3aca7ac..d0b8b7b 100644 --- a/Makefile +++ b/Makefile @@ -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