-
Notifications
You must be signed in to change notification settings - Fork 16
70 lines (70 loc) · 1.83 KB
/
main.yml
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
name: build-test
on:
push:
pull_request:
schedule:
- cron: '0 15 * * *'
jobs:
build-javacode:
name: javacode
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: make git
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '19.0.0'
architecture: x64
- run: java -version
- name: Make java-code
run: make java-code
build-pythoncode:
name: pythoncode
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: make git
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
- run: python --version
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements.txt
- name: Make python-code
run: make python-code
build-csharpcode:
name: csharpcode
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
run: make git
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
include-prerelease: true
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
- run: python --version
- run: python -m pip install --upgrade pip
- run: dotnet --version
- name: Make csharp-code
run: make csharp-code