Skip to content

Commit

Permalink
initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
tuke307 committed Jul 3, 2022
0 parents commit d7f4ae4
Show file tree
Hide file tree
Showing 680 changed files with 112,208 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
8 changes: 8 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# version: 2
# updates:
# - package-ecosystem: nuget
# directory: "/"
# schedule:
# interval: daily
# time: "04:00"
# open-pull-requests-limit: 10
37 changes: 37 additions & 0 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Build & Test
# Versions: .NET Core 3.1.x, 5.0.x
# Trigger: pull request, push
# actions/checkout@v2 and actions/setup-dotnet@v1 are community actions that will get your code and setup dotnet

name: Build & Test .NET Core

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'

- name: Install dependencies
run: dotnet restore ./src/SimTuning.WPF.App/SimTuning.WPF.App.csproj

- name: Build netcoreapp3.1
run: dotnet build --configuration Release --framework netcoreapp3.1 --no-restore ./src/SimTuning.WPF.App/SimTuning.WPF.App.csproj

- name: Build net5.0
run: dotnet build --configuration Release --framework net5.0-windows --no-restore ./src/SimTuning.WPF.App/SimTuning.WPF.App.csproj

- name: Test
run: dotnet test --no-restore --verbosity normal ./src/SimTuning.Test/SimTuning.Test.csproj
26 changes: 26 additions & 0 deletions .github/workflows/dotnet-framework.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Build & Test
# Versions: .NET Framework
# Trigger: pull_request, push
# actions/checkout@v2 and actions/setup-dotnet@v1 are community actions that will get your code and setup dotnet

name: Build .NET Framework

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Build SimTuning.WPF.App
run: msbuild ./src/SimTuning.WPF.App/SimTuning.WPF.App.csproj /restore /p:Configuration=Release
23 changes: 23 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: "pre-release"

on:
push:
branches:
- "master"

jobs:
tagged-release:
name: "Pre Release"
runs-on: "ubuntu-latest"

steps:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE.txt
*.jar
21 changes: 21 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: "tagged-release"

on:
push:
tags:
- "v*"

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE.txt
*.jar
29 changes: 29 additions & 0 deletions .github/workflows/xamarin-forms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Build & Test
# Versions: Xamarin.Forms
# Trigger: pull request, push
# https://docs.github.com/en/actions/guides/building-and-testing-net

name: Build Xamarin.Forms

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Build SimTuning.Forms.Droid
run: msbuild ./src/SimTuning.Forms.Droid/SimTuning.Forms.Droid.csproj /restore /p:Configuration=Release

- name: Build SimTuning.Forms.iOS
run: msbuild ./src/SimTuning.Forms.iOS/SimTuning.Forms.iOS.csproj /restore /p:Configuration=Release
Loading

0 comments on commit d7f4ae4

Please sign in to comment.