Skip to content

Commit 2da18b9

Browse files
committed
Added CI
1 parent b5b0762 commit 2da18b9

File tree

4 files changed

+51
-2
lines changed

4 files changed

+51
-2
lines changed

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ GO
6767
> dotnet build -r win-x86<br />
6868
> dotnet publish -f netcoreapp2.0 -c Release -r win-x86<br />
6969
70+
71+
**Build for Linux x86-32:**
72+
> **not supported by framework**
73+
7074
**Build for Linux x86-64:**
7175
> dotnet restore -r linux-x64<br />
7276
> dotnet build -r linux-x64<br />
@@ -78,10 +82,33 @@ GO
7882
> dotnet build -r linux-arm<br />
7983
> dotnet publish -f netcoreapp2.0 -c Release -r linux-arm<br />
8084
85+
**Build for Linux ARM-64:**
86+
> **not supported by framework**
8187
82-
**Build for Linux x86-32:**
88+
89+
**Build for Mac OSX x86-32:**
8390
> **not supported by framework**
8491
92+
**Build for Mac OSX x86-64:**
93+
> dotnet restore -r osx-x64<br />
94+
> dotnet build -r osx-x64<br />
95+
> dotnet publish -f netcoreapp2.0 -c Release -r osx-x64<br />
96+
97+
Mac build requires MacOS >= Sierra (10.12+)
98+
99+
100+
101+
# Future:
102+
**Build for Android (arch?):**
103+
> dotnet restore -r android<br />
104+
> dotnet build -r android<br />
105+
> dotnet publish -f netcoreapp2.0 -c Release -r android<br />
106+
107+
108+
[List of RIDs][3]
109+
110+
85111

86112
[1]: https://i.stack.imgur.com/IgYvq.png
87-
[2]: https://i.stack.imgur.com/hEaFY.png
113+
[2]: https://i.stack.imgur.com/hEaFY.png
114+
[3]: https://docs.microsoft.com/en-us/dotnet/core/rid-catalog

appveyor.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
image: Visual Studio 2017
2+
environment:
3+
DOTNET_CLI_TELEMETRY_OPTOUT: true
4+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
5+
before_build:
6+
- cmd: dotnet restore

sql_profiler.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sql_profiler", "sql_profile
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{48DE8B2B-ED7D-42DB-BD6A-01C35D978401}"
99
ProjectSection(SolutionItems) = preProject
10+
appveyor.yml = appveyor.yml
1011
README.md = README.md
12+
travis.yml = travis.yml
1113
EndProjectSection
1214
EndProject
1315
Global

travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
language: csharp
3+
dist: xenial
4+
# http://www.erikschierboom.com/2017/03/21/continuous-integration-of-dotnet-core-applications/
5+
# SDK-version:
6+
dotnet: 2.1.4
7+
mono: none
8+
env:
9+
global:
10+
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
11+
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
12+
script:
13+
- dotnet restore
14+
- dotnet build

0 commit comments

Comments
 (0)