Skip to content

Commit 1993f6f

Browse files
committed
fix
1 parent 5e94cca commit 1993f6f

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
run: |
184184
docker run --rm --gpus 'device=1' ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} bash -lc '
185185
cmake -S $SIMPHONY_HOME/examples -B /tmp/simphony-examples-build
186-
cmake --build /tmp/simphony-examples-build
186+
cmake --build /tmp/simphony-examples-build --target install
187187
188188
mkdir -p /tmp/simphony-example-run/out && cd /tmp/simphony-example-run
189189
simphox && test -f out/photons.npy

examples/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
cmake_minimum_required(VERSION 3.20)
1+
cmake_minimum_required(VERSION 3.18)
22

33
project(simphox LANGUAGES CXX)
44

5-
set(CMAKE_CXX_STANDARD 17)
6-
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7-
set(CMAKE_CXX_EXTENSIONS OFF)
8-
95
find_package(simphony REQUIRED)
106

117
add_executable(simphox simphox.cpp)

0 commit comments

Comments
 (0)