Skip to content

Commit d7980d7

Browse files
committed
Build And Install Nabla In One CI Step
1 parent e4c8bb0 commit d7980d7

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build-nabla.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,23 +122,18 @@ jobs:
122122
docker exec orphan `
123123
${{ env.entry }} ${{ env.cmd }} -Command cmake `
124124
--preset ci-configure-dynamic-${{ matrix.vendor }} `
125+
-DCMAKE_INSTALL_PREFIX:PATH=C:/mount/nabla/build-ct/install `
125126
--profiling-output=profiling/cmake-profiling.json `
126127
--profiling-format=google-trace
127128
128-
- name: Container – Build Nabla
129+
- name: Container – Build & Install Nabla
129130
run: |
130131
docker exec orphan `
131132
${{ env.entry }} ${{ env.cmd }} -Command cmake --build `
132133
--preset ci-build-dynamic-${{ matrix.vendor }} `
134+
--target install `
133135
--config ${{ matrix.config }}
134136
135-
- name: Container – Install Nabla
136-
run: |
137-
docker exec orphan `
138-
${{ env.entry }} ${{ env.cmd }} -Command cmake --install `
139-
${{ env.binary }} --config ${{ matrix.config }} `
140-
--prefix ${{ env.install }}
141-
142137
- name: API / Examples / Check Run (Create)
143138
id: check-run-create
144139
uses: actions/github-script@v6

0 commit comments

Comments
 (0)