File tree Expand file tree Collapse file tree 6 files changed +245
-0
lines changed
Expand file tree Collapse file tree 6 files changed +245
-0
lines changed Original file line number Diff line number Diff line change 1+ name : csharp darwin snippets
2+
3+ on : [pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : read
7+ pull-requests : write
8+
9+ jobs :
10+ maven-darwin :
11+ runs-on : macos-latest
12+ strategy :
13+ matrix :
14+ include :
15+ - dotnet-version : " 8"
16+
17+ steps :
18+ - name : checkout repository
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - uses : actions/setup-dotnet@v4
24+ with :
25+ dotnet-version : ${{ matrix.dotnet-version }}
26+
27+ - name : install Senzing SDK
28+ uses : senzing-factory/github-action-install-senzing-sdk@v2
29+ with :
30+ senzingsdk-repository-path : ${{ secrets.SENZING_OSX_BETA_REPOSITORY }}
31+
32+ - name : run csharp snippets
33+ run : |
34+ cd ${GITHUB_WORKSPACE}/csharp/runner
35+ dotnet run --project SnippetRunner all
Original file line number Diff line number Diff line change 1+ name : csharp linux snippets
2+
3+ on :
4+ push :
5+ branches-ignore : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+
13+ jobs :
14+ maven-linux :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ include :
19+ - dotnet-version : " 8"
20+
21+ steps :
22+ - name : checkout repository
23+ uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+
27+ - uses : actions/setup-dotnet@v4
28+ with :
29+ dotnet-version : ${{ matrix.dotnet-version }}
30+
31+ - name : install Senzing runtime
32+ uses : senzing-factory/github-action-install-senzing-sdk@v2
33+ with :
34+ packages-to-install : " senzingsdk-runtime senzingsdk-setup"
35+ senzingsdk-repository-package : ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_PACKAGE }}
36+ senzingsdk-repository-path : ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_URL }}
37+
38+ - name : run csharp snippets
39+ run : |
40+ cd ${GITHUB_WORKSPACE}/csharp/runner
41+ dotnet run --project SnippetRunner all
Original file line number Diff line number Diff line change 1+ name : csharp windows snippets
2+
3+ on : [pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : read
7+ pull-requests : write
8+
9+ jobs :
10+ maven-windows :
11+ runs-on : windows-latest
12+ strategy :
13+ matrix :
14+ include :
15+ - dotnet-version : " 8"
16+
17+ steps :
18+ - name : checkout repository
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - uses : actions/setup-dotnet@v4
24+ with :
25+ dotnet-version : ${{ matrix.dotnet-version }}
26+
27+ - name : install Senzing SDK
28+ uses : senzing-factory/github-action-install-senzing-sdk@v2
29+ with :
30+ senzingsdk-repository-path : ${{ secrets.SENZING_WIN_BETA_REPOSITORY }}
31+
32+ - name : run csharp snippets
33+ run : |
34+ cd ${GITHUB_WORKSPACE}/csharp/runner
35+ dotnet run --project SnippetRunner all
Original file line number Diff line number Diff line change 1+ name : java darwin snippets
2+
3+ on : [pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : read
7+ pull-requests : write
8+
9+ jobs :
10+ maven-darwin :
11+ runs-on : macos-latest
12+ strategy :
13+ matrix :
14+ include :
15+ - java-distribution : " temurin"
16+ java-version : ["17", "21"]
17+ senzingsdk-version : " staging-v4"
18+
19+ steps :
20+ - name : checkout repository
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - uses : actions/setup-java@v4
26+ with :
27+ distribution : ${{ matrix.java-distribution }}
28+ java-version : ${{ matrix.java-version }}
29+
30+ - name : install Senzing SDK
31+ uses : senzing-factory/github-action-install-senzing-sdk@v2
32+ with :
33+ senzingsdk-repository-path : ${{ secrets.SENZING_OSX_BETA_REPOSITORY }}
34+
35+ - name : build with Maven
36+ run : |
37+ cd ${GITHUB_WORKSPACE}/java
38+ mvn clean install
39+
40+ - name : run java snippets
41+ run : |
42+ cd ${GITHUB_WORKSPACE}/java
43+ java -jar target/sz-sdk-snippets.jar all
Original file line number Diff line number Diff line change 1+ name : java linux snippets
2+
3+ on :
4+ push :
5+ branches-ignore : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+
13+ jobs :
14+ maven-linux :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ include :
19+ - java-version : ["17", "21"]
20+ java-distribution : " temurin"
21+
22+ steps :
23+ - name : checkout repository
24+ uses : actions/checkout@v4
25+ with :
26+ fetch-depth : 0
27+
28+ - uses : actions/setup-java@v4
29+ with :
30+ java-version : ${{ matrix.java-version }}
31+ distribution : ${{ matrix.java-distribution }}
32+
33+ - name : install Senzing runtime
34+ uses : senzing-factory/github-action-install-senzing-sdk@v2
35+ with :
36+ packages-to-install : " senzingsdk-runtime senzingsdk-setup"
37+ senzingsdk-repository-package : ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_PACKAGE }}
38+ senzingsdk-repository-path : ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_URL }}
39+
40+ - name : build with Maven
41+ run : |
42+ cd ${GITHUB_WORKSPACE}/java
43+ mvn clean install
44+
45+ - name : run java snippets
46+ run : |
47+ cd ${GITHUB_WORKSPACE}/java
48+ java -jar target/sz-sdk-snippets.jar all
Original file line number Diff line number Diff line change 1+ name : java windows snippets
2+
3+ on : [pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : read
7+ pull-requests : write
8+
9+ jobs :
10+ maven-windows :
11+ runs-on : windows-latest
12+ strategy :
13+ matrix :
14+ include :
15+ - java-version : " 17"
16+ java-distribution : " temurin"
17+ senzingsdk-version : " staging-v4"
18+
19+ steps :
20+ - name : checkout repository
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - uses : actions/setup-java@v4
26+ with :
27+ java-version : ${{ matrix.java-version }}
28+ distribution : ${{ matrix.java-distribution }}
29+
30+ - name : install Senzing SDK
31+ uses : senzing-factory/github-action-install-senzing-sdk@v2
32+ with :
33+ senzingsdk-repository-path : ${{ secrets.SENZING_WIN_BETA_REPOSITORY }}
34+
35+ - name : build with Maven
36+ run : |
37+ cd ${GITHUB_WORKSPACE}/java
38+ mvn clean install
39+
40+ - name : run java snippets
41+ run : |
42+ cd ${GITHUB_WORKSPACE}/java
43+ java -jar target/sz-sdk-snippets.jar all
You can’t perform that action at this time.
0 commit comments