-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automatic template update of I2S Analyzer
- Loading branch information
1 parent
8b5fb31
commit 9c418ac
Showing
4 changed files
with
102 additions
and
118 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
tags: | ||
- '*' | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: | | ||
cmake -B ${{github.workspace}}/build -A x64 | ||
cmake --build ${{github.workspace}}/build --config Release | ||
- name: Upload windows build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows | ||
path: ${{github.workspace}}/build/Analyzers/Release/*.dll | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: | | ||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release | ||
cmake --build ${{github.workspace}}/build | ||
- name: Upload MacOS build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: macos | ||
path: ${{github.workspace}}/build/Analyzers/*.so | ||
linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: | | ||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release | ||
cmake --build ${{github.workspace}}/build | ||
- name: Upload Linux build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: linux | ||
path: ${{github.workspace}}/build/Analyzers/*.so | ||
publish: | ||
needs: [windows, macos, linux] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: download individual builds | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: ${{github.workspace}}/artifacts | ||
- name: zip | ||
run: | | ||
cd ${{github.workspace}}/artifacts | ||
zip -r ${{github.workspace}}/analyzer.zip . | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: all-platforms | ||
path: ${{github.workspace}}/artifacts/** | ||
- name: create release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ${{github.workspace}}/analyzer.zip |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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