Skip to content

add CI step to test executables #1

add CI step to test executables

add CI step to test executables #1

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_32:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: make -f utils.mk build32
- uses: actions/upload-artifact@v3
with:
path: mtxrpicam_32
name: mtxrpicam_32
build_64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: make -f utils.mk build64
- uses: actions/upload-artifact@v3
with:
path: mtxrpicam_64
name: mtxrpicam_64
test_32:
needs: build_32
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: mtxrpicam_32
path: .
- run: make -f utils.mk test32
test_64:
needs: build_64
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: mtxrpicam_64
path: .
- run: make -f utils.mk test64