Skip to content

Commit cc56f3f

Browse files
Merge pull request #2 from adamhewitt627/dev/linux
Support Linux
2 parents 5311351 + 155f89d commit cc56f3f

File tree

31 files changed

+359
-680
lines changed

31 files changed

+359
-680
lines changed

.devcontainer/devcontainer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/codespaces-linux
3+
{
4+
"name": "Codespaces",
5+
"image": "mcr.microsoft.com/vscode/devcontainers/universal:linux",
6+
7+
"extensions": [
8+
"ms-vsonline.vsonline",
9+
"GitHub.vscode-pull-request-github",
10+
"MS-vsliveshare.vsliveshare",
11+
"VisualStudioExptTeam.vscodeintellicode"
12+
]
13+
}

.github/workflows/dotnetcore.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
name: .NET Core
1+
name: Continuous
22

33
on:
44
push:
55
branches: [ master ]
66
pull_request:
7-
branches: [ master ]
87

98
jobs:
109
build:
11-
12-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
include:
14+
- os: ubuntu-latest
15+
arch: linux-x64
16+
- os: windows-latest
17+
arch: win-x64
1318

1419
steps:
1520
- uses: actions/checkout@v2
21+
1622
- name: Setup .NET Core
1723
uses: actions/setup-dotnet@v1
1824
with:
1925
dotnet-version: 3.1.101
20-
- name: Install dependencies
21-
run: dotnet restore
22-
- name: Build
23-
run: dotnet build --configuration Release --no-restore
26+
2427
- name: Test
25-
run: dotnet test --no-restore --verbosity normal
28+
run: dotnet test --configuration Release --verbosity normal --runtime ${{ matrix.arch }}

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [ prereleased, released ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Setup .NET Core
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: 3.1.101
18+
19+
- name: Set VersionSuffix
20+
if: ${{ github.event.release.prerelease }}
21+
run: echo "::set-env name=VersionSuffix::ci$([string]::Format('{0:0000}', [int]'${{ github.run_number }}'))"
22+
shell: pwsh
23+
24+
- name: Build
25+
run: dotnet pack --configuration Release --verbosity normal --output .
26+
27+
- name: Publish
28+
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Create Release
14+
uses: actions/create-release@v1
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
with:
18+
tag_name: ${{ github.ref }}
19+
release_name: ${{ github.ref }}
20+
draft: false
21+
prerelease: true

.gitignore

Lines changed: 6 additions & 288 deletions
Original file line numberDiff line numberDiff line change
@@ -1,290 +1,8 @@
1-
## Ignore Visual Studio temporary files, build results, and
2-
## files generated by popular Visual Studio add-ons.
3-
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5-
6-
# User-specific files
7-
*.suo
1+
.vs
2+
bin
3+
obj
84
*.user
9-
*.userosscache
10-
*.sln.docstates
11-
12-
# User-specific files (MonoDevelop/Xamarin Studio)
13-
*.userprefs
14-
15-
# Build results
16-
[Dd]ebug/
17-
[Dd]ebugPublic/
18-
[Rr]elease/
19-
[Rr]eleases/
20-
x64/
21-
x86/
22-
ARM/
23-
bld/
24-
[Bb]in/
25-
[Oo]bj/
26-
[Ll]og/
27-
runtimes/
28-
29-
# Visual Studio 2015 cache/options directory
30-
.vs/
31-
# Uncomment if you have tasks that create the project's static files in wwwroot
32-
#wwwroot/
33-
34-
# MSTest test Results
35-
[Tt]est[Rr]esult*/
36-
[Bb]uild[Ll]og.*
37-
38-
# NUNIT
39-
*.VisualState.xml
40-
TestResult.xml
41-
42-
# Build Results of an ATL Project
43-
[Dd]ebugPS/
44-
[Rr]eleasePS/
45-
dlldata.c
46-
47-
# .NET Core
48-
project.lock.json
49-
project.fragment.lock.json
50-
artifacts/
51-
**/Properties/launchSettings.json
52-
53-
*_i.c
54-
*_p.c
55-
*_i.h
56-
*.ilk
57-
*.meta
58-
*.obj
59-
*.pch
60-
*.pdb
61-
*.pgc
62-
*.pgd
63-
*.rsp
64-
*.sbr
65-
*.tlb
66-
*.tli
67-
*.tlh
68-
*.tmp
69-
*.tmp_proj
70-
*.log
71-
*.vspscc
72-
*.vssscc
73-
.builds
74-
*.pidb
75-
*.svclog
76-
*.scc
77-
78-
# Chutzpah Test files
79-
_Chutzpah*
80-
81-
# Visual C++ cache files
82-
ipch/
83-
*.aps
84-
*.ncb
85-
*.opendb
86-
*.opensdf
87-
*.sdf
88-
*.cachefile
89-
*.VC.db
90-
*.VC.VC.opendb
91-
92-
# Visual Studio profiler
93-
*.psess
94-
*.vsp
95-
*.vspx
96-
*.sap
97-
98-
# TFS 2012 Local Workspace
99-
$tf/
100-
101-
# Guidance Automation Toolkit
102-
*.gpState
103-
104-
# ReSharper is a .NET coding add-in
105-
_ReSharper*/
106-
*.[Rr]e[Ss]harper
107-
*.DotSettings.user
108-
109-
# JustCode is a .NET coding add-in
110-
.JustCode
111-
112-
# TeamCity is a build add-in
113-
_TeamCity*
114-
115-
# DotCover is a Code Coverage Tool
116-
*.dotCover
117-
118-
# Visual Studio code coverage results
119-
*.coverage
120-
*.coveragexml
121-
122-
# NCrunch
123-
_NCrunch_*
124-
.*crunch*.local.xml
125-
nCrunchTemp_*
126-
127-
# MightyMoose
128-
*.mm.*
129-
AutoTest.Net/
130-
131-
# Web workbench (sass)
132-
.sass-cache/
133-
134-
# Installshield output folder
135-
[Ee]xpress/
136-
137-
# DocProject is a documentation generator add-in
138-
DocProject/buildhelp/
139-
DocProject/Help/*.HxT
140-
DocProject/Help/*.HxC
141-
DocProject/Help/*.hhc
142-
DocProject/Help/*.hhk
143-
DocProject/Help/*.hhp
144-
DocProject/Help/Html2
145-
DocProject/Help/html
146-
147-
# Click-Once directory
148-
publish/
149-
150-
# Publish Web Output
151-
*.[Pp]ublish.xml
152-
*.azurePubxml
153-
# TODO: Comment the next line if you want to checkin your web deploy settings
154-
# but database connection strings (with potential passwords) will be unencrypted
155-
*.pubxml
156-
*.publishproj
157-
158-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
159-
# checkin your Azure Web App publish settings, but sensitive information contained
160-
# in these scripts will be unencrypted
161-
PublishScripts/
162-
163-
# NuGet Packages
164-
*.nupkg
165-
# The packages folder can be ignored because of Package Restore
166-
**/packages/*
167-
# except build/, which is used as an MSBuild target.
168-
!**/packages/build/
169-
# Uncomment if necessary however generally it will be regenerated when needed
170-
#!**/packages/repositories.config
171-
# NuGet v3's project.json files produces more ignorable files
172-
*.nuget.props
173-
*.nuget.targets
174-
175-
# Microsoft Azure Build Output
176-
csx/
177-
*.build.csdef
178-
179-
# Microsoft Azure Emulator
180-
ecf/
181-
rcf/
182-
183-
# Windows Store app package directories and files
184-
AppPackages/
185-
BundleArtifacts/
186-
Package.StoreAssociation.xml
187-
_pkginfo.txt
188-
189-
# Visual Studio cache files
190-
# files ending in .cache can be ignored
191-
*.[Cc]ache
192-
# but keep track of directories ending in .cache
193-
!*.[Cc]ache/
194-
195-
# Others
196-
ClientBin/
197-
~$*
198-
*~
199-
*.dbmdl
200-
*.dbproj.schemaview
201-
*.jfm
202-
*.pfx
203-
*.publishsettings
204-
orleans.codegen.cs
205-
206-
# Since there are multiple workflows, uncomment next line to ignore bower_components
207-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
208-
#bower_components/
209-
210-
# RIA/Silverlight projects
211-
Generated_Code/
212-
213-
# Backup & report files from converting an old project file
214-
# to a newer Visual Studio version. Backup files are not needed,
215-
# because we have git ;-)
216-
_UpgradeReport_Files/
217-
Backup*/
218-
UpgradeLog*.XML
219-
UpgradeLog*.htm
220-
221-
# SQL Server files
222-
*.mdf
223-
*.ldf
224-
*.ndf
225-
226-
# Business Intelligence projects
227-
*.rdl.data
228-
*.bim.layout
229-
*.bim_*.settings
230-
231-
# Microsoft Fakes
232-
FakesAssemblies/
233-
234-
# GhostDoc plugin setting file
235-
*.GhostDoc.xml
236-
237-
# Node.js Tools for Visual Studio
238-
.ntvs_analysis.dat
239-
node_modules/
240-
241-
# Typescript v1 declaration files
242-
typings/
243-
244-
# Visual Studio 6 build log
245-
*.plg
246-
247-
# Visual Studio 6 workspace options file
248-
*.opt
249-
250-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
251-
*.vbw
252-
253-
# Visual Studio LightSwitch build output
254-
**/*.HTMLClient/GeneratedArtifacts
255-
**/*.DesktopClient/GeneratedArtifacts
256-
**/*.DesktopClient/ModelManifest.xml
257-
**/*.Server/GeneratedArtifacts
258-
**/*.Server/ModelManifest.xml
259-
_Pvt_Extensions
260-
261-
# Paket dependency manager
262-
.paket/paket.exe
263-
paket-files/
264-
265-
# FAKE - F# Make
266-
.fake/
267-
268-
# JetBrains Rider
269-
.idea/
270-
*.sln.iml
271-
272-
# CodeRush
273-
.cr/
274-
275-
# Python Tools for Visual Studio (PTVS)
276-
__pycache__/
277-
*.pyc
278-
279-
# Cake - Uncomment if you are using it
280-
# tools/**
281-
# !tools/packages.config
282-
283-
# Telerik's JustMock configuration file
284-
*.jmconfig
2855

286-
# BizTalk build output
287-
*.btp.cs
288-
*.btm.cs
289-
*.odx.cs
290-
*.xsd.cs
6+
*.o
7+
*.so
8+
*nupkg

0 commit comments

Comments
 (0)