simplify make flow, more flexible #64
Workflow file for this run
This file contains hidden or 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: LNX build | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**.md' | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| build: | |
| name: Linux | |
| env: | |
| CMSIS: CMSIS_5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ARM GCC setup | |
| uses: fiam/arm-none-eabi-gcc@v1 | |
| with: | |
| release: 8-2019-q3 | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Resolve prerequisites | |
| run: make prerequisites | |
| - name: Build firmware | |
| run: make stm32f103x8 | |
| - name: Build encrypter | |
| run: make crypter | |
| - name: Build testsuite | |
| run: make testsuite | |
| - name: Vector test | |
| run: build/cipher_test |