Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge for next release #312

Merged
merged 28 commits into from
Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4690fdc
Adding vrEnginePower, vrElectricalPowerSetPoint, vrElectricalPowerAct…
May 18, 2020
20d158c
Correcting DDI of vrFuelProductivity from 278 to 150, Adding vrFuelPr…
May 18, 2020
3dc48c0
Adding vrFuelProductivityTotal to RepresentationSystem
May 18, 2020
348b905
add support for github actions
brycehemme Jun 23, 2021
5ee3bf3
move to github actions and remove travis
brycehemme Jun 23, 2021
5826282
Update readme for Github actions changes
brycehemme Jun 23, 2021
fa5ddc0
clean up mistake in version number env var
brycehemme Jun 23, 2021
970c7ba
Merge branch 'develop' of github.com:brycehemme/ADAPT into develop
brycehemme Jun 23, 2021
dcbdea2
fix ggrep to grep
brycehemme Jun 23, 2021
e51edd6
Merge pull request #305 from brycehemme/develop
strhea Jun 23, 2021
96d0e63
migrate test projects to .Net 5.0
brycehemme Jun 26, 2021
305b3a3
Merge branch 'develop' of github.com:brycehemme/ADAPT into develop
brycehemme Jun 26, 2021
7c3219d
add .net 5.0 to github actions
brycehemme Jun 26, 2021
f590f5e
fix tests for .net 5.0
brycehemme Jun 26, 2021
8e8c6f0
add back missing checkout in ci.yml
brycehemme Jun 27, 2021
61bb03b
move to ubuntu latest now that dotnet 5 is supported
brycehemme Jun 27, 2021
44facb6
clean up actions job names
brycehemme Jun 27, 2021
ed8cc39
Merge pull request #307 from brycehemme/develop
strhea Jul 7, 2021
ed0c18d
Checking for presence of unit code before invoking indexer on it.
knelson-farmbeltnorth Aug 13, 2021
fe614cc
Merge branch 'develop' of https://github.com/ADAPT/ADAPT into develop
knelson-farmbeltnorth Aug 13, 2021
4f16861
Merge pull request #308 from knelson-farmbeltnorth/develop
strhea Aug 18, 2021
11350e4
Merge branch 'ADAPT_Issue_147' into develop
JasonRoesbeke Oct 5, 2021
7266435
removing header
JasonRoesbeke Oct 5, 2021
124acdc
Revert "removing header"
JasonRoesbeke Oct 5, 2021
42ee7f6
Merge pull request #310 from JasonRoesbeke/ADAPT_Issue_147_redo
strhea Oct 13, 2021
9ee3662
Adding SignalType in SpatialRecord
KrishnaBrahmarouthu Oct 25, 2021
be7ad2a
Fixing missing xml tags
KrishnaBrahmarouthu Oct 27, 2021
ec229f4
Merge pull request #311 from KrishnaBrahmarouthu/develop
strhea Oct 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add support for github actions
  • Loading branch information
brycehemme committed Jun 23, 2021
commit 348b905f76703f72f36caa1dcbcb4af87ed2b445
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop

jobs:
build:
# target 18.04 due to netcoreapp2.0 requiring OpenSSL 1.0 and newer versions of Ubuntu shipping with OpenSSL 1.1
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK '2.0'
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: '2.0.x'
- name: Setup .NET Core SDK '3.1'
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: '3.1.x'
- name: Install dependencies
run: dotnet restore
- name: Application Data Model Test
run: dotnet test ./source/ApplicationDataModelTest/ApplicationDataModelTest.csproj -c Release
- name: Plugin Manager Test
run: dotnet test ./source/PluginManagerTest/PluginManagerTest.csproj -c Release
- name: Representation Test
run: dotnet test ./source/RepresentationTest/RepresentationTest.csproj -c Release
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
build:
# target 18.04 due to netcoreapp2.0 requiring OpenSSL 1.0 and newer versions of Ubuntu shipping with OpenSSL 1.1
runs-on: ubuntu-18.04

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Build artifacts
run: dotnet build --configuration Release /p:Version=${{ env.VERSION }} /p:FileVersion=${{ env.VERSION }}.${{ github.run_number }}
- name: Package
run: mkdir -p ./dist; nuget pack ./AgGatewayADAPTFramework.nuspec -outputdirectory ./dist -version ${{ env.VERSION }}
- name: Push release to Github
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./dist/AgGatewayADAPTFramework2.${{ env.VERSION }}.nupkg
tag: ${{ github.ref }}
- name: Push release to public Nuget
run: dotnet nuget push ./dist/AgGatewayADAPTFramework2.${{ env.VERSION }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
2 changes: 1 addition & 1 deletion AgGatewayADAPTFramework.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>AgGatewayADAPTFramework</id>
<id>AgGatewayADAPTFramework2</id>
<version>0.0.0</version>
<authors>AgGateway and ADAPT Contributors</authors>
<owners>AgGateway and ADAPT Contributors</owners>
Expand Down