Skip to content

Commit

Permalink
Merge remote-tracking branch 'aous72/master' into merge/aous72-20240802
Browse files Browse the repository at this point in the history
  • Loading branch information
wayfarer3130 committed Aug 2, 2024
2 parents 0da149a + 987c654 commit c0d46c9
Show file tree
Hide file tree
Showing 84 changed files with 9,321 additions and 3,453 deletions.
54 changes: 40 additions & 14 deletions .github/workflows/ccp-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,52 @@ on: push

jobs:
build:
name: main build for Unix-like
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-20.04, ubuntu-latest]
include: [
{ system: MacOS, runner: macos-latest },
{ system: Ubuntu-20, runner: ubuntu-20.04 },
{ system: Ubuntu-latest, runner: ubuntu-latest },
]
name: ${{ matrix.system }} Build
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake
run: cmake ..
run: cmake -DOJPH_BUILD_STREAM_EXPAND=ON ..
working-directory: build
- name: build
run: make
working-directory: build

build_windows:
strategy:
matrix:
include: [
{ system: Windows, runner: windows-latest },
]
name: ${{ matrix.system }} Build
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: cmake
run: cmake -G "Visual Studio 17 2022" -A x64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_STREAM_EXPAND=ON ..
working-directory: build
- name: build
run: cmake --build . --config Release
working-directory: build

test:
name: tests on Linux and MacOS
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
include: [
{ system: MacOS, runner: macos-latest },
{ system: Ubuntu-latest, runner: ubuntu-latest },
]
name: ${{ matrix.system }} Test
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake
run: cmake -DOJPH_BUILD_TESTS=yes ..
working-directory: build
Expand All @@ -38,15 +62,17 @@ jobs:
working-directory: build

test_windows:
name: tests on Windows
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
include: [
{ system: Windows, runner: windows-latest },
]
name: ${{ matrix.system }} Test
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: cmake
run: cmake -G "Visual Studio 17 2022" -A x64 -DOJPH_ENABLE_TIFF_SUPPORT=off -DOJPH_BUILD_TESTS=yes ..
run: cmake -G "Visual Studio 17 2022" -A x64 -DOJPH_ENABLE_TIFF_SUPPORT=OFF -DOJPH_BUILD_TESTS=ON ..
working-directory: build
- name: build
run: cmake --build . --config Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
language: [ 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
mytest/*
others/*
lib/*

.vscode
build.sh
Loading

0 comments on commit c0d46c9

Please sign in to comment.