Merge pull request #311 from electro-smith/support-site-link #479
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: Build All | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: 'recursive' | |
| - name: arm-none-eabi-gcc | |
| uses: fiam/arm-none-eabi-gcc@v1 | |
| with: | |
| release: '9-2019-q4' | |
| - name: Build Libraries | |
| run: ./ci/build_libs.sh | |
| - name: setup python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.8 | |
| - name: Build Examples | |
| run: python ./ci/build_examples.py | |
| - name: Create Distributable Binaries | |
| run: python ./ci/build_dist.py -ru | |
| - name: Deploy Dist | |
| uses: EndBug/add-and-commit@v4 | |
| with: | |
| message: 'Automated: Committing Dist folder' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |