Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update CI for 20241005 #370

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/check_pre-merge_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
generator: 'Visual Studio 17 2022'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake_version
run: cmake --version
- name: cmake_generage
Expand All @@ -49,23 +49,27 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11, macos-12, macos-13]
xcode_version: ['13.2.1']
os: [macos-12, macos-13, macos-14]
xcode_version: ['14.3.1']
include:
- os: macos-11
xcode_version: '12.5.1'
- os: macos-12
xcode_version: '13.4.1'
- os: macos-12
xcode_version: '14.2'
- os: macos-13
xcode_version: '14.3.1'
exclude:
- os: macos-13
xcode_version: '13.2.1'
xcode_version: '15.2'
- os: macos-14
xcode_version: '14.3.1'
- os: macos-14
xcode_version: '15.4'
exclude:
- os: macos-12
xcode_version: '14.3.1'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_${{matrix.xcode_version}}.app/Contents/Developer'
- name: Show Xcode version
Expand All @@ -88,15 +92,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
shared: [on, off]
elements: [on]
include:
- os: ubuntu-22.04
elements: off

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand All @@ -116,10 +120,10 @@ jobs:

doxygen-ubuntu:
name: doxygen-check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
Expand Down
42 changes: 23 additions & 19 deletions .github/workflows/check_pre-merge_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
generator: 'Visual Studio 17 2022'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake_version
run: cmake --version
- name: cmake_generage
Expand All @@ -51,23 +51,27 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11, macos-12, macos-13]
xcode_version: ['13.2.1']
os: [macos-12, macos-13, macos-14]
xcode_version: ['14.3.1']
include:
- os: macos-11
xcode_version: '12.5.1'
- os: macos-12
xcode_version: '13.4.1'
- os: macos-12
xcode_version: '14.2'
- os: macos-13
xcode_version: '14.3.1'
exclude:
- os: macos-13
xcode_version: '13.2.1'
xcode_version: '15.2'
- os: macos-14
xcode_version: '14.3.1'
- os: macos-14
xcode_version: '15.4'
exclude:
- os: macos-12
xcode_version: '14.3.1'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_${{matrix.xcode_version}}.app/Contents/Developer'
- name: Show Xcode version
Expand All @@ -90,15 +94,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
shared: [on, off]
elements: [on]
include:
- os: ubuntu-22.04
elements: off

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand Down Expand Up @@ -126,7 +130,7 @@ jobs:
elements: [on]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand All @@ -152,7 +156,7 @@ jobs:
zip -r lcov_cfd_output.zip lcov_cfd_output
cd ..
- name: upload coverage
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: output-lcov-cfd-${{ matrix.os }}
path: ./build/lcov_cfd_output.zip
Expand All @@ -169,7 +173,7 @@ jobs:
generator: 'Visual Studio 17 2022'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand Down Expand Up @@ -197,7 +201,7 @@ jobs:
shared: [on]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand All @@ -217,19 +221,19 @@ jobs:
# --valgrind-stacksize=1048576 --num-callers=12
valgrind -v --tool=memcheck --leak-check=full --valgrind-stacksize=10485760 --log-file=./valgrind.log --time-stamp=yes ./build/Debug/cfd_test
- name: upload coverage
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: valgrind-log
path: ./valgrind.log

arm-build-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
platform: ['linux/arm/v7', 'linux/arm64/v8']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand All @@ -240,10 +244,10 @@ jobs:

doxygen-ubuntu:
name: doxygen-check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
Expand Down
34 changes: 19 additions & 15 deletions .github/workflows/check_pre-merge_sprint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
generator: 'Visual Studio 17 2022'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake_version
run: cmake --version
- name: cmake_generage
Expand All @@ -49,23 +49,27 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11, macos-12, macos-13]
xcode_version: ['13.2.1']
os: [macos-12, macos-13, macos-14]
xcode_version: ['14.3.1']
include:
- os: macos-11
xcode_version: '12.5.1'
- os: macos-12
xcode_version: '13.4.1'
- os: macos-12
xcode_version: '14.2'
- os: macos-13
xcode_version: '14.3.1'
exclude:
- os: macos-13
xcode_version: '13.2.1'
xcode_version: '15.2'
- os: macos-14
xcode_version: '14.3.1'
- os: macos-14
xcode_version: '15.4'
exclude:
- os: macos-12
xcode_version: '14.3.1'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_${{matrix.xcode_version}}.app/Contents/Developer'
- name: Show Xcode version
Expand Down Expand Up @@ -94,7 +98,7 @@ jobs:
elements: off

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand All @@ -120,7 +124,7 @@ jobs:
zip -r lcov_cfd_output.zip lcov_cfd_output
cd ..
- name: upload coverage
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: output-lcov-cfd-${{ matrix.os }}
path: ./build/lcov_cfd_output.zip
Expand All @@ -137,7 +141,7 @@ jobs:
generator: 'Visual Studio 17 2022'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand Down Expand Up @@ -165,7 +169,7 @@ jobs:
shared: [on]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: dump version
run: |
cmake --version
Expand All @@ -185,17 +189,17 @@ jobs:
# --valgrind-stacksize=1048576 --num-callers=12
valgrind -v --tool=memcheck --leak-check=full --valgrind-stacksize=10485760 --log-file=./valgrind.log --time-stamp=yes ./build/Debug/cfd_test
- name: upload coverage
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: valgrind-log
path: ./valgrind.log

doxygen-ubuntu:
name: doxygen-check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/code_scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:
analyze-CodeQL:
name: CodeQL
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand All @@ -37,14 +37,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# 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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# https://git.io/JvXDl
Expand All @@ -67,7 +67,7 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3

OSSAR-Scan:
# OSSAR runs on windows-latest.
Expand All @@ -77,7 +77,7 @@ jobs:
steps:
# Checkout your code repository to scan
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -95,7 +95,7 @@ jobs:
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:

- name: Install .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'

Expand All @@ -106,6 +106,6 @@ jobs:

# Upload results to the Security tab
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
Loading
Loading