Skip to content

Commit

Permalink
Merge branch 'ci/simplify' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesDelorme committed Feb 12, 2025
2 parents 45d9953 + 1504c89 commit c69d48b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 22 deletions.
7 changes: 7 additions & 0 deletions .github/CI_OVERVIEW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

OS | Status
---------|---------------------------------------------------
Linux | [![Linux Arch x64](https://github.com/fougue/mayo/actions/workflows/ci_linux_arch.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_linux_arch.yml)<br>[![Linux Fedora x64](https://github.com/fougue/mayo/actions/workflows/ci_linux_fedora.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_linux_fedora.yml)<br>[![Linux Ubuntu armv7](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu_armv7.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu_armv7.yml)<br>[![Linux Ubuntu x64/arm64](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu.yml)
macOS | [![macOS arm64](https://github.com/fougue/mayo/actions/workflows/ci_macos.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_macos.yml)<br>[![macOS-conda arm64](https://github.com/fougue/mayo/actions/workflows/ci_macos_conda.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_macos_conda.yml)
Windows | [![Windows x64](https://github.com/fougue/mayo/actions/workflows/ci_windows.yml/badge.svg)](https://github.com/fougue/mayo/actions/workflows/ci_windows.yml)

7 changes: 2 additions & 5 deletions .github/workflows/ci_linux_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
uses: actions/checkout@v2

- name: Update all package informations
run: |
sudo apt-get -y update
run: sudo apt-get -y update

- name: Install Qt${{matrix.qt_version_major}}
run: |
Expand All @@ -35,14 +34,12 @@ jobs:
sudo apt-get -y install libxi-dev
- name: Install Assimp
run: |
sudo apt-get -y install libassimp-dev
run: sudo apt-get -y install libassimp-dev

- name: Build
run: |
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake --version
cmake .. \
-DMayo_BuildTests=ON \
-DMayo_BuildPluginAssimp=ON
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: |
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake --version
cmake .. \
-DMayo_BuildTests=ON \
-DMayo_BuildPluginAssimp=ON \
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_macos_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
run: |
mkdir ${{github.workspace}}/build
cd ${{github.workspace}}/build
cmake --version
export CMAKE_PREFIX_PATH="$CONDA/envs/ci_macos_conda/lib/cmake/Qt5;$CMAKE_PREFIX_PATH"
export CMAKE_PREFIX_PATH="$CONDA/envs/ci_macos_conda/lib/cmake/opencascade;$CMAKE_PREFIX_PATH"
export CMAKE_PREFIX_PATH="$CONDA/envs/ci_macos_conda/lib/cmake/assimp-5.4;$CMAKE_PREFIX_PATH"
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,9 @@ jobs:
build-windows:
strategy:
matrix:
occ_version: [7.3.0, 7.4.0, 7.5.0, 7.6.0, 7.7.0, 7.8.0]
assimp_version: [5.4.3]
include:
- occ_version: 7.3.0
assimp_version: 5.4.3
- occ_version: 7.4.0
assimp_version: 5.4.3
- occ_version: 7.5.0
assimp_version: 5.4.3
- occ_version: 7.6.0
assimp_version: 5.4.3
- occ_version: 7.7.0
assimp_version: 5.4.3
- occ_version: 7.8.0
assimp_version: 5.4.3
- occ_version: 7.8.0
assimp_version: 5.3.1

Expand Down Expand Up @@ -104,14 +94,14 @@ jobs:
run: |
mkdir ${{github.workspace}}\build
cd ${{github.workspace}}\build
set occ_version=${{matrix.occ_version}}
set assimp_version=${{matrix.assimp_version}}
cmake --version
cmake .. ^
-DMayo_BuildTests=ON ^
-DMayo_BuildPluginAssimp=ON ^
-DMayo_PostBuildCopyRuntimeDLLs=ON ^
-DOpenCASCADE_DIR=../OpenCASCADE-${{matrix.occ_version}}-vc14-64/opencascade-${{matrix.occ_version}} ^
-Dassimp_DIR=${{github.workspace}}/assimp-${{matrix.assimp_version}}/lib/cmake/assimp-%assimp_version:~0,3%
-DOpenCASCADE_DIR=${{github.workspace}}/OpenCASCADE-%occ_version%-vc14-64/opencascade-%occ_version% ^
-Dassimp_DIR=${{github.workspace}}/assimp-%assimp_version%/lib/cmake/assimp-%assimp_version:~0,3%
cmake --build . ^
--config Debug ^
--parallel ${{steps.cpu-cores.outputs.count}}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Windows CI](https://github.com/fougue/mayo/actions/workflows/ci_windows.yml/badge.svg?branch=develop)](https://github.com/fougue/mayo/actions/workflows/ci_windows.yml)
[![Linux CI](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu.yml/badge.svg?branch=develop)](https://github.com/fougue/mayo/actions/workflows/ci_linux_ubuntu.yml)
[![macOS CI](https://github.com/fougue/mayo/actions/workflows/ci_macos.yml/badge.svg?branch=develop)](https://github.com/fougue/mayo/actions/workflows/ci_macos.yml)
<br>
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d51f8ca6fea34886b8308ff0246172ce)](https://app.codacy.com/gh/fougue/mayo/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Downloads](https://img.shields.io/github/downloads/fougue/mayo/total.svg)](https://github.com/fougue/mayo/releases)
[![Version](https://img.shields.io/badge/version-v0.9.0-blue.svg?style=flat)](https://github.com/fougue/mayo/releases)
Expand Down

0 comments on commit c69d48b

Please sign in to comment.