forked from AlexandrSitdikov/monetdb-mapi-net
-
Notifications
You must be signed in to change notification settings - Fork 3
76 lines (69 loc) · 2.99 KB
/
Copy pathdotnet.yml
File metadata and controls
76 lines (69 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: .NET
on: [push]
jobs:
build:
runs-on: windows-latest
env:
branch: Oct2020
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
# - name: Install choco packages
# run: choco install --no-progress -y winflexbison unzip curl
# - name: Install vcpkg packages
# uses: lukka/run-vcpkg@v5
# with:
# vcpkgArguments: --triplet x64-windows libiconv openssl libxml2 pcre zlib getopt bzip2 curl
# vcpkgGitCommitId: e803bf11296d8e7900dafb41e7b1224778d33dc6
# appendedCacheKey: ${{ hashFiles(env.vcpkgResponseFile) }}
# - name: Get monetdb
# run: |
# Set-Location c:\
# curl.exe https://dev.monetdb.org/hg/MonetDB/archive/${{ env.branch }}.zip -O
# unzip.exe ${{ env.branch }}.zip
# - name: Compile and install MonetDB
# run: |
# mkdir c:\MonetDB-${{ env.branch }}\build
# Set-Location c:\MonetDB-${{ env.branch }}\build
# dir $Env:VCPKG_ROOT\scripts\buildsystems
# dir $Env:VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake
# cmake -G "Visual Studio 16 2019" `
# -A x64 `
# -DCMAKE_INSTALL_PREFIX=C:\monetdb `
# -DTESTING=OFF `
# -DCMAKE_BUILD_TYPE=Release `
# -DASSERT=OFF `
# -DODBC=false `
# -DPY3INTEGRATION=OFF `
# -DINT128=OFF `
# ..
# cmake --build . --target ALL_BUILD --parallel 4 --config Release
# cmake --build . --target INSTALL --config Release
# - name: Collect DLLs
# run: |
# Set-Location $GITHUB_WORKSPACE
# Copy-Item C:\monetdb\bin\bat.dll monetdbe\.
# Copy-Item C:\monetdb\bin\mapi.dll monetdbe\.
# Copy-Item C:\monetdb\bin\monetdb5.dll monetdbe\.
# Copy-Item C:\monetdb\bin\monetdbe.dll monetdbe\.
# Copy-Item C:\monetdb\bin\monetdbsql.dll monetdbe\.
# Copy-Item C:\monetdb\bin\stream.dll monetdbe\.
# ls $Env:VCPKG_ROOT\installed\x64-windows\bin\*.dll
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\libcrypto-1_1-x64.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\iconv-2.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\libxml2.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\pcre.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\zlib1.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\lzma.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\charset-1.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\bz2.dll monetdbe\.
# Copy-Item $Env:VCPKG_ROOT\installed\x64-windows\bin\libcurl.dll monetdbe\.
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
#- name: Test
#run: dotnet test --no-build --verbosity normal