Skip to content

Commit cfda559

Browse files
committed
try to fix ci
1 parent 9500ff4 commit cfda559

File tree

5 files changed

+32
-427
lines changed

5 files changed

+32
-427
lines changed

.github/FUNDING.yml

-12
This file was deleted.

.github/workflows/continuous.yml

+32-72
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest]
24-
config: [DebugNoSymbols, Release]
24+
config: [Release]
2525
threading: [TBB]
2626
include:
2727
- os: ubuntu-latest
@@ -52,7 +52,20 @@ jobs:
5252
# ccache --max-size=1.0G
5353
ccache -V && ccache --show-stats && ccache --zero-stats
5454
55-
- name: Configure
55+
- name: Configure-inflator
56+
run: |
57+
cd inflator
58+
mkdir -p build
59+
cd build
60+
cmake .. \
61+
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
62+
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
63+
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS=""
64+
65+
- name: Build-inflator
66+
run: cd inflator/build; make -j2; ccache --show-stats
67+
68+
- name: Configure-polyfem
5669
run: |
5770
mkdir -p build
5871
cd build
@@ -62,7 +75,7 @@ jobs:
6275
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS="" \
6376
-DPOLYFEM_THREADING=${{ matrix.threading }}
6477
65-
- name: Build
78+
- name: Build-polyfem
6679
run: cd build; make -j2; ccache --show-stats
6780

6881
- name: Tests
@@ -83,7 +96,7 @@ jobs:
8396
fail-fast: false
8497
matrix:
8598
os: [macos-latest, macos-14]
86-
config: [DebugNoSymbols, Release]
99+
config: [Release]
87100
threading: [TBB]
88101

89102
steps:
@@ -110,84 +123,31 @@ jobs:
110123
ccache --max-size=1.0G
111124
ccache -V && ccache --show-stats && ccache --zero-stats
112125
113-
- name: Configure
126+
- name: Configure-inflator
114127
run: |
128+
cd inflator
115129
mkdir -p build
116130
cd build
117131
cmake .. \
118132
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
119133
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
120-
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS="" \
121-
-DPOLYFEM_THREADING=${{ matrix.threading }}
122-
123-
- name: Build
124-
run: cd build; make -j2; ccache --show-stats
125-
126-
- name: Tests
127-
run: cd build; ctest --verbose --output-on-failure
128-
129-
####################
130-
# Windows
131-
####################
132-
133-
Windows:
134-
runs-on: windows-2022
135-
env:
136-
SCCACHE_IDLE_TIMEOUT: "12000"
137-
strategy:
138-
fail-fast: false
139-
matrix:
140-
config: [DebugNoSymbols]
141-
threading: [CPP]
142-
steps:
143-
- name: Checkout repository
144-
uses: actions/checkout@v4.1.6
145-
with:
146-
fetch-depth: 10
134+
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS=""
147135
148-
- name: Install Ninja
149-
uses: seanmiddleditch/gha-setup-ninja@master
136+
- name: Build-inflator
137+
run: cd inflator/build; make -j2; ccache --show-stats
150138

151-
- name: Dependencies
152-
run: |
153-
choco install ccache
154-
"CACHE_PATH=${env:LOCALAPPDATA}\ccache" | Out-File -FilePath $env:GITHUB_ENV -Append
155-
156-
- name: Cache build
157-
id: cache-build
158-
uses: actions/cache@v4.0.2
159-
with:
160-
path: ${{ env.CACHE_PATH }}
161-
key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache-${{ github.sha }}
162-
restore-keys: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.threading }}-cache
163-
164-
- name: Prepare ccache
139+
- name: Configure-polyfem
165140
run: |
166-
ccache --max-size=1.0G
167-
ccache -V && ccache --show-stats && ccache --zero-stats
141+
mkdir -p build
142+
cd build
143+
cmake .. \
144+
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
145+
-DCMAKE_BUILD_TYPE=${{ matrix.config }} \
146+
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS="" \
147+
-DPOLYFEM_THREADING=${{ matrix.threading }}
168148
169-
- name: Configure
170-
shell: cmd
171-
run: |
172-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x64
173-
cmake -G Ninja ^
174-
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^
175-
-DCMAKE_CONFIGURATION_TYPES="Release;Debug;RelWithDebInfo;MinSizeRel;DebugNoSymbols" ^
176-
-DCMAKE_BUILD_TYPE=${{ matrix.config }} ^
177-
-DCMAKE_CXX_FLAGS_DEBUGNOSYMBOLS="/Od" -DCMAKE_EXE_LINKER_FLAGS_DEBUGNOSYMBOLS="" ^
178-
-DPOLYFEM_WITH_CLIPPER=OFF ^
179-
-DPOLYFEM_THREADING=${{ matrix.threading }} ^
180-
-DPOLYSOLVE_WITH_CHOLMOD=OFF ^
181-
-DPOLYSOLVE_WITH_AMGCL=OFF ^
182-
-DPOLYSOLVE_WITH_MKL=ON ^
183-
-B build ^
184-
-S .
185-
186-
- name: Build
187-
shell: cmd
188-
run: |
189-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x64
190-
cmake --build build -j2 && ccache --show-stats
149+
- name: Build-polyfem
150+
run: cd build; make -j2; ccache --show-stats
191151

192152
- name: Tests
193153
run: cd build; ctest --verbose --output-on-failure

.github/workflows/coverage.yml

-84
This file was deleted.

.github/workflows/docs.yml

-63
This file was deleted.

0 commit comments

Comments
 (0)