Removing demo/backup code (#253) #172
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-test-release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-test-release: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build all targets. | |
| run: | | |
| make build-all RELEASE_BUILD=true | |
| - name: Run unit tests across all targets. | |
| run: | | |
| make test-all | |
| - name: Prepare scenarios to be released. | |
| run: | | |
| sudo apt install zip | |
| zip -r scenarios.zip scenarios | |
| - name: Release Innovation Engine | |
| uses: "marvinpinto/action-automatic-releases@latest" | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| title: "IE" | |
| automatic_release_tag: "latest" | |
| prerelease: true | |
| files: | | |
| ./bin/ie | |
| ./scenarios.zip |