-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to net 8.0 and create CI workflow.
- Loading branch information
Showing
5 changed files
with
55 additions
and
20 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,47 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
env: | ||
nugetOutputPath: ${{ 'nupkgs' }} | ||
|
||
jobs: | ||
build_and_publish: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.x | ||
- uses: nuget/setup-nuget@v2 | ||
with: | ||
nuget-version: "6.x" | ||
- name: Generate Bindings | ||
id: build_bindings | ||
shell: pwsh | ||
run: | | ||
./Generate-Bindings.ps1 | ||
- name: Generate NuGet packages | ||
id: build_nugets | ||
shell: pwsh | ||
run: | | ||
./Generate-NuGets.ps1 -revision ${{ github.run_number }} -outputfolder ${{ env.nugetOutputPath }} | ||
- name: SendGrid Mail Action | ||
if: ${{ failure() }} | ||
uses: mmichailidis/[email protected] | ||
with: | ||
# The token for sendgrid | ||
sendgrid-token: ${{ secrets.WAVE_SENDGRID_TOKEN }} | ||
# List of emails separated by comma that the email will go | ||
mail: ${{ secrets.EVERGINE_EMAILREPORT_LIST }} | ||
# The email that will be shown as sender | ||
from: ${{ secrets.EVERGINE_EMAIL }} | ||
# The subject of the email | ||
subject: WebGPU.Net CD build has failed | ||
# Defines if it should be one email with multiple address or multiple emails with a single address | ||
individual: false | ||
# The body of the mail. The placeholders that can be used are $EVENT$, $ISSUE$, $ACTION$ | ||
text: something went wrong when building WebGPU.Net |
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 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 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 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