Skip to content

Commit

Permalink
update to v0.2.2 (#16)
Browse files Browse the repository at this point in the history
* update from cryptogarageinc v0.2.5

Co-authored-by: k-matsuzawa <[email protected]>
  • Loading branch information
ko-matsu and k-matsuzawa authored Dec 2, 2020
1 parent 528cc14 commit 50f5565
Show file tree
Hide file tree
Showing 27 changed files with 440 additions and 162 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/check_pre-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: pre-merge check

on:
push:
branches:
- master
- develop
- features/sprint*
pull_request:
branches:
- master
- develop
- features/sprint*

jobs:
test-dotnet5:
name: dotnet 5.0
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-10.15, macos-11.0, windows-2019, ubuntu-20.04, ubuntu-18.04]

steps:
- name: setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- uses: actions/checkout@v2
- name: build and test
if: runner.os != 'Windows'
run: |
./tools/build.sh
./tools/test.sh
- name: build and test on win
if: runner.os == 'Windows'
run: |
./tools/build.bat
./tools/test.bat
test-dotnet3:
name: dotnet 3.1
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-10.15, windows-2019, ubuntu-20.04, ubuntu-18.04]

steps:
- name: setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- uses: actions/checkout@v2
- name: build and test
if: runner.os != 'Windows'
run: |
./tools/build_core3.sh
./tools/test_core3.sh
- name: build and test on win
if: runner.os == 'Windows'
run: |
./tools/build_core3.bat
./tools/test_core3.bat
38 changes: 0 additions & 38 deletions .github/workflows/check_pre-merge_develop.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/check_pre-merge_master.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/check_pre-merge_sprint.yml

This file was deleted.

11 changes: 10 additions & 1 deletion .github/workflows/code_scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- develop
- features/sprint*
- feature/code_scanning
paths:
- '**.cs'
- '**/code_scanner.yml'
- '**/external_project_local_setting.config'
pull_request:
branches:
- master
Expand All @@ -16,7 +20,7 @@ on:
jobs:
analyze-CodeQL:
name: CodeQL
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

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

- name: setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

# If this run was triggered by a pull request event, then checkout the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/create_release-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
create_releases:
name: create-releases
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
outputs:
release_url: ${{ steps.output_url.outputs.upload_url }}

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
upload-object-windows:
name: upload-object-win
needs: create_releases
runs-on: windows-latest
runs-on: windows-2019

steps:
- name: setup dotnet
Expand All @@ -71,8 +71,8 @@ jobs:
shell: bash
- name: cmake-build
run: |
.\tools\build.bat
.\tools\test.bat
.\tools\build_core3.bat
.\tools\test_core3.bat
timeout-minutes: 20
- name: cmake-install
shell: cmd
Expand Down Expand Up @@ -119,10 +119,10 @@ jobs:
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: cmake-build
run: |
./tools/build.sh
./tools/build_core3.sh
- name: test
run: |
./tools/test.sh
./tools/test_core3.sh
- name: create archive file
run: |
mkdir dist
Expand All @@ -148,7 +148,7 @@ jobs:
upload-object-macos:
name: upload-object-macos
needs: create_releases
runs-on: macos-latest
runs-on: macos-10.15

steps:
- name: setup dotnet
Expand All @@ -166,10 +166,10 @@ jobs:
run: xcodebuild -version
- name: cmake-build
run: |
./tools/build.sh
./tools/build_core3.sh
- name: test
run: |
./tools/test.sh
./tools/test_core3.sh
- name: create archive file
run: |
mkdir dist
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
<StartupObject>Cfd.Tests.Cli.CfdCliTestMain</StartupObject>
<OutputName>cfdcs_test</OutputName>
<AssemblyName>cfdcs_test</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>

<IsPackable>false</IsPackable>

Expand Down
2 changes: 1 addition & 1 deletion dotnet_project/CfdCsharpProject/CfdCsharpProject.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFrameworks>net5.0;netstandard2.1</TargetFrameworks>
<AssemblyName>cfdcs</AssemblyName>
<Platforms>x64</Platforms>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if(CFD_TARGET_VERSION)
set(CFD_TARGET_TAG ${CFD_TARGET_VERSION})
message(STATUS "[external project local] cfd target=${CFD_TARGET_VERSION}")
else()
set(CFD_TARGET_TAG v0.2.0)
set(CFD_TARGET_TAG v0.2.2)
endif()
if(CFD_TARGET_URL)
set(CFD_TARGET_REP ${CFD_TARGET_URL})
Expand Down
Loading

0 comments on commit 50f5565

Please sign in to comment.