Skip to content

Commit 50f5565

Browse files
update to v0.2.2 (#16)
* update from cryptogarageinc v0.2.5 Co-authored-by: k-matsuzawa <[email protected]>
1 parent 528cc14 commit 50f5565

27 files changed

+440
-162
lines changed

.github/workflows/check_pre-merge.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: pre-merge check
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
- features/sprint*
9+
pull_request:
10+
branches:
11+
- master
12+
- develop
13+
- features/sprint*
14+
15+
jobs:
16+
test-dotnet5:
17+
name: dotnet 5.0
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [macos-10.15, macos-11.0, windows-2019, ubuntu-20.04, ubuntu-18.04]
22+
23+
steps:
24+
- name: setup dotnet
25+
uses: actions/setup-dotnet@v1
26+
with:
27+
dotnet-version: 5.0.x
28+
- uses: actions/checkout@v2
29+
- name: build and test
30+
if: runner.os != 'Windows'
31+
run: |
32+
./tools/build.sh
33+
./tools/test.sh
34+
- name: build and test on win
35+
if: runner.os == 'Windows'
36+
run: |
37+
./tools/build.bat
38+
./tools/test.bat
39+
40+
test-dotnet3:
41+
name: dotnet 3.1
42+
runs-on: ${{ matrix.os }}
43+
strategy:
44+
matrix:
45+
os: [macos-10.15, windows-2019, ubuntu-20.04, ubuntu-18.04]
46+
47+
steps:
48+
- name: setup dotnet
49+
uses: actions/setup-dotnet@v1
50+
with:
51+
dotnet-version: 3.1.x
52+
- uses: actions/checkout@v2
53+
- name: build and test
54+
if: runner.os != 'Windows'
55+
run: |
56+
./tools/build_core3.sh
57+
./tools/test_core3.sh
58+
- name: build and test on win
59+
if: runner.os == 'Windows'
60+
run: |
61+
./tools/build_core3.bat
62+
./tools/test_core3.bat

.github/workflows/check_pre-merge_develop.yml

-38
This file was deleted.

.github/workflows/check_pre-merge_master.yml

-38
This file was deleted.

.github/workflows/check_pre-merge_sprint.yml

-43
This file was deleted.

.github/workflows/code_scanner.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- develop
88
- features/sprint*
99
- feature/code_scanning
10+
paths:
11+
- '**.cs'
12+
- '**/code_scanner.yml'
13+
- '**/external_project_local_setting.config'
1014
pull_request:
1115
branches:
1216
- master
@@ -16,7 +20,7 @@ on:
1620
jobs:
1721
analyze-CodeQL:
1822
name: CodeQL
19-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-18.04
2024

2125
strategy:
2226
fail-fast: false
@@ -34,6 +38,11 @@ jobs:
3438
# We must fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
3539
fetch-depth: 2
3640

41+
- name: setup dotnet
42+
uses: actions/setup-dotnet@v1
43+
with:
44+
dotnet-version: 5.0.x
45+
3746
# If this run was triggered by a pull request event, then checkout the head of the pull request instead of the merge commit.
3847
- run: git checkout HEAD^2
3948
if: ${{ github.event_name == 'pull_request' }}

.github/workflows/create_release-and-upload.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
create_releases:
1414
name: create-releases
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-18.04
1616
outputs:
1717
release_url: ${{ steps.output_url.outputs.upload_url }}
1818

@@ -48,7 +48,7 @@ jobs:
4848
upload-object-windows:
4949
name: upload-object-win
5050
needs: create_releases
51-
runs-on: windows-latest
51+
runs-on: windows-2019
5252

5353
steps:
5454
- name: setup dotnet
@@ -71,8 +71,8 @@ jobs:
7171
shell: bash
7272
- name: cmake-build
7373
run: |
74-
.\tools\build.bat
75-
.\tools\test.bat
74+
.\tools\build_core3.bat
75+
.\tools\test_core3.bat
7676
timeout-minutes: 20
7777
- name: cmake-install
7878
shell: cmd
@@ -119,10 +119,10 @@ jobs:
119119
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
120120
- name: cmake-build
121121
run: |
122-
./tools/build.sh
122+
./tools/build_core3.sh
123123
- name: test
124124
run: |
125-
./tools/test.sh
125+
./tools/test_core3.sh
126126
- name: create archive file
127127
run: |
128128
mkdir dist
@@ -148,7 +148,7 @@ jobs:
148148
upload-object-macos:
149149
name: upload-object-macos
150150
needs: create_releases
151-
runs-on: macos-latest
151+
runs-on: macos-10.15
152152

153153
steps:
154154
- name: setup dotnet
@@ -166,10 +166,10 @@ jobs:
166166
run: xcodebuild -version
167167
- name: cmake-build
168168
run: |
169-
./tools/build.sh
169+
./tools/build_core3.sh
170170
- name: test
171171
run: |
172-
./tools/test.sh
172+
./tools/test_core3.sh
173173
- name: create archive file
174174
run: |
175175
mkdir dist

dotnet_project/CfdCsharpProject.CliTests/CfdCsharpProject.CliTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
66
<StartupObject>Cfd.Tests.Cli.CfdCliTestMain</StartupObject>
77
<OutputName>cfdcs_test</OutputName>
88
<AssemblyName>cfdcs_test</AssemblyName>

dotnet_project/CfdCsharpProject.xTests/CfdCsharpProject.xTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77

dotnet_project/CfdCsharpProject/CfdCsharpProject.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFrameworks>net5.0;netstandard2.1</TargetFrameworks>
55
<AssemblyName>cfdcs</AssemblyName>
66
<Platforms>x64</Platforms>
77
</PropertyGroup>

external/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if(CFD_TARGET_VERSION)
4343
set(CFD_TARGET_TAG ${CFD_TARGET_VERSION})
4444
message(STATUS "[external project local] cfd target=${CFD_TARGET_VERSION}")
4545
else()
46-
set(CFD_TARGET_TAG v0.2.0)
46+
set(CFD_TARGET_TAG v0.2.2)
4747
endif()
4848
if(CFD_TARGET_URL)
4949
set(CFD_TARGET_REP ${CFD_TARGET_URL})

0 commit comments

Comments
 (0)