Skip to content

Commit

Permalink
Fix wrong executable and missing Werror flag in CI test (ECP-WarpX#3964)
Browse files Browse the repository at this point in the history
* change executable from warpx.3d to warpx.rz in order to run a rz simulation

* add -Werror before compiling WarpX in CI test
  • Loading branch information
lucafedeli88 authored Jun 4, 2023
1 parent 7e96064 commit 3bc702e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ jobs:
ccache-openmp-3D-RZ-SP-
- name: build WarpX
run: |
# we need to define this *after* having installed the dependencies,
# because the compilation of blaspp raises warnings.
export CXXFLAGS="-Werror"
cmake -S . -B build \
-GNinja \
-DCMAKE_VERBOSE_MAKEFILE=ON \
Expand All @@ -118,7 +123,7 @@ jobs:
cmake --build build -j 2
./build/bin/warpx.3d Examples/Physics_applications/laser_acceleration/inputs_3d
./build/bin/warpx.3d Examples/Physics_applications/laser_acceleration/inputs_rz
./build/bin/warpx.rz Examples/Physics_applications/laser_acceleration/inputs_rz
build_gcc_ablastr:
name: GCC ABLASTR w/o MPI
Expand Down

0 comments on commit 3bc702e

Please sign in to comment.