Skip to content

Commit 1e6fa4a

Browse files
authored
Kpg/cinterop (#31)
Added cinterop and squashed a whole lot of commits that triggered CI builds...
1 parent fbea7e2 commit 1e6fa4a

File tree

215 files changed

+25862
-3347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+25862
-3347
lines changed

.github/workflows/build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: build
2+
#on: workflow_dispatch
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
os: [macOS-latest, windows-latest]
16+
runs-on: ${{matrix.os}}
17+
steps:
18+
- name: Checkout the repo
19+
uses: actions/checkout@v2
20+
- name: Install msys2
21+
if: matrix.os == 'windows-latest'
22+
uses: msys2/setup-msys2@v2
23+
with:
24+
msystem: MINGW64
25+
update: true
26+
install: git mingw-w64-x86_64-toolchain libsqlite
27+
- name: Validate Gradle Wrapper
28+
uses: gradle/wrapper-validation-action@v1
29+
- name: Cache gradle
30+
uses: actions/cache@v2
31+
with:
32+
path: ~/.gradle/caches
33+
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
34+
restore-keys: |
35+
${{ runner.os }}-gradle-
36+
- name: Cache konan
37+
uses: actions/cache@v2
38+
with:
39+
path: ~/.konan
40+
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
41+
restore-keys: |
42+
${{ runner.os }}-gradle-
43+
- name: Update Environment Variables
44+
shell: bash
45+
run: |
46+
echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH
47+
- name: Build
48+
run: ./gradlew build --no-daemon --stacktrace
49+
50+
env:
51+
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"

.github/workflows/deploy.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: deploy
2+
on: workflow_dispatch
3+
#on:
4+
# pull_request:
5+
# branches:
6+
# - master
7+
# push:
8+
# branches:
9+
# - master
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
os: [macOS-latest, windows-latest]
16+
runs-on: ${{matrix.os}}
17+
steps:
18+
- name: Checkout the repo
19+
uses: actions/checkout@v2
20+
- name: Install msys2
21+
if: matrix.os == 'windows-latest'
22+
uses: msys2/setup-msys2@v2
23+
with:
24+
msystem: MINGW64
25+
update: true
26+
install: git mingw-w64-x86_64-toolchain libsqlite
27+
- name: Validate Gradle Wrapper
28+
uses: gradle/wrapper-validation-action@v1
29+
- name: Cache gradle
30+
uses: actions/cache@v2
31+
with:
32+
path: ~/.gradle/caches
33+
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
34+
restore-keys: |
35+
${{ runner.os }}-gradle-
36+
- name: Cache konan
37+
uses: actions/cache@v2
38+
with:
39+
path: ~/.konan
40+
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
41+
restore-keys: |
42+
${{ runner.os }}-gradle-
43+
- name: Update Environment Variables
44+
shell: bash
45+
run: |
46+
echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH
47+
- name: Publish Mac Artifacts
48+
if: matrix.os == 'macOS-latest'
49+
run: ./gradlew publishMac --no-daemon --stacktrace
50+
env:
51+
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
52+
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
53+
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
54+
- name: Publish Windows Artifacts
55+
if: matrix.os == 'windows-latest'
56+
run: ./gradlew publishWindows --no-daemon --stacktrace
57+
env:
58+
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
59+
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
60+
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
61+
62+
env:
63+
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
-7.2 MB
Binary file not shown.
-8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)