Skip to content

Commit 929a5c8

Browse files
authored
Merge pull request #417 from Universite-Gustave-Eiffel/folder_resources_rework
MacOS, Windows, Linux build
2 parents 7a11d9c + 742ace5 commit 929a5c8

File tree

2,332 files changed

+1182
-247778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,332 files changed

+1182
-247778
lines changed

.github/workflows/flatpak.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,4 @@ jobs:
2727
cache-key: flatpak-builder-${{ github.sha }}
2828
arch: ${{ matrix.variant.arch }}
2929
verbose: true
30-
- name: Upload Flatpak
31-
uses: actions/upload-artifact@v4
32-
with:
33-
name: flatpak-${{ matrix.variant.arch }}
34-
path: isimpa.flatpak
30+

.github/workflows/sub_buildMacOS.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,19 @@ jobs:
3939
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4040
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
4141
run: |
42-
cmake -DCPM_SOURCE_CACHE=${{ env.CPM_SOURCE_CACHE }} -B "${{ env.builddir }}" -DCMAKE_BUILD_TYPE=Release
42+
cmake -G Xcode -DCPM_SOURCE_CACHE=${{ env.CPM_SOURCE_CACHE }} -B "${{ env.builddir }}" -DCMAKE_BUILD_TYPE=Release -DTEAM_ID="${{ secrets.TEAMID }}"
4343
- name: Compiling sources
4444
run: |
4545
cmake --build "${{ env.builddir }}" --config Release
46-
- name: Install
46+
- name: Create distribution package
4747
run: |
48-
cmake --install "${{ env.builddir }}" --config Release
49-
- name: Test
50-
working-directory: ${{github.workspace}}/build
51-
# Execute tests defined by the CMake configuration.
52-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
53-
run: make test
48+
cpack -G DragNDrop
49+
working-directory: ${{ env.builddir }}
5450
- name: Upload I-Simpa standalone
5551
uses: actions/upload-artifact@v4
5652
with:
57-
name: macos-no-install-arm64
58-
path: ${{ env.builddir }}/bin
53+
name: macos_dmg
54+
path: ${{ env.builddir }}/distribution/*.dmg
55+
56+
5957

.github/workflows/sub_buildWindows.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ jobs:
118118
- name: Compiling sources
119119
run: |
120120
cmake --build "${{ env.builddir }}" --config Release --parallel
121-
- name: Install
121+
- name: CPack
122122
run: |
123-
cmake --install "${{ env.builddir }}" --config Release
123+
cpack
124+
working-directory: ${{ env.builddir }}
124125
- name: Print Ccache statistics after build
125126
run: |
126127
. $env:ccachebindir\ccache -s
@@ -136,4 +137,9 @@ jobs:
136137
uses: actions/upload-artifact@v4
137138
with:
138139
name: windows-no-install-x64
139-
path: ${{ env.builddir }}/bin
140+
path: ${{ env.builddir }}/src/isimpa
141+
- name: Upload I-Simpa install
142+
uses: actions/upload-artifact@v4
143+
with:
144+
name: windows-setup-x64
145+
path: ${{ env.builddir }}/distribution/*.exe

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ CMakeSettings.json
5656
# pixi environments
5757
.pixi/*
5858
!.pixi/config.toml
59+
*.flatpak

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_policy(SET CMP0177 NEW) # install() DESTINATION paths are normalized
66
cmake_policy(SET CMP0175 NEW)
77
# Maps to a solution file (isimpa.sln). The solution will
88
# have all targets (exe, lib, dll) as projects (.vcproj)
9-
project (isimpa VERSION 1.3.4)
9+
project (isimpa VERSION 1.4.0)
1010

1111
# a better way to load dependencies
1212
include(cmake/CPM.cmake)

README.md

Lines changed: 22 additions & 0 deletions
-16.5 KB
Binary file not shown.

currentRelease/SystemScript/check_version/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

currentRelease/SystemScript/job_tool/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

currentRelease/SystemScript/moveto_vertex/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)