Skip to content

Commit fe9c9b8

Browse files
committed
Updated CI file.
1 parent c2f6056 commit fe9c9b8

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ jobs:
5353
- name: Get number of CPU cores # Can replace when CMake is upgraded to 3.29
5454
uses: SimenB/github-actions-cpu-cores@v2
5555
id: cpu-cores
56-
- name: Install uv
57-
uses: astral-sh/setup-uv@v5
58-
with:
59-
python-version: "3.13"
6056
- name: Build CSE
6157
uses: ./.github/actions/build-cse
6258
with:
@@ -104,6 +100,38 @@ jobs:
104100
path: |
105101
test/*.rep
106102
test/*.REP
103+
- name: Check test failure
104+
if: steps.test.outcome == 'failure'
105+
run: exit 1
106+
build-doc:
107+
strategy:
108+
fail-fast: false
109+
matrix:
110+
include:
111+
- os: windows
112+
os_ver: "2022"
113+
config: Release
114+
arch: "32"
115+
compiler: msvc
116+
experimental: false
117+
name: Build CSE documentation
118+
needs: build-cse
119+
if: ${{ always() }}
120+
runs-on: windows-2022
121+
steps:
122+
- name: Checkout
123+
uses: actions/checkout@v4
124+
- name: Configure CMake
125+
run: cmake -P cmake/configure.cmake
126+
- name: Download CSE artifact
127+
uses: ./.github/actions/download-cse-artifact
128+
- name: Build docs
129+
uses: ./.github/actions/build-docs
130+
- name: Run coverage check
131+
run: rake coverage
132+
working-directory: doc
133+
env:
134+
CSE_EXE_PATH: ..\\build\\CSE.exe
107135
- name: Upload documentation
108136
uses: actions/upload-artifact@v4
109137
with:

0 commit comments

Comments
 (0)