Skip to content

Commit

Permalink
[CI] Use PIP_OPTIONS in build tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Mar 14, 2022
1 parent be61e49 commit 4fe7763
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr/local/ \
-DPYTHON_EXECUTABLE=$(command -v python3) \
-DENABLE_TESTS=ON \
-DPIP_VERBOSE=ON \
-DPIP_OPTIONS:STRING="--verbose" \
-S xrootd \
-B build
cmake3 build -LH
Expand Down Expand Up @@ -128,6 +128,8 @@ jobs:
- name: Clone repository now that Git is available
uses: actions/checkout@v1

# Use extra PIP_OPTIONS strings as example that this is possible.
# N.B.: None of the PIP_OPTIONS are required for this step to work.
- name: Build with cmake
run: |
. /opt/rh/devtoolset-7/enable
Expand All @@ -136,7 +138,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr/local/ \
-DPYTHON_EXECUTABLE=$(command -v python3) \
-DENABLE_TESTS=ON \
-DPIP_VERBOSE=ON \
-DPIP_OPTIONS:STRING="--verbose --force-reinstall --prefix /usr/local/" \
-S xrootd \
-B build
cmake3 build -LH
Expand Down Expand Up @@ -204,7 +206,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DPYTHON_EXECUTABLE=$(command -v python2) \
-DENABLE_TESTS=ON \
-DPIP_VERBOSE=ON \
-DPIP_OPTIONS:STRING="--verbose" \
-S xrootd \
-B build
cmake3 build -LH
Expand Down Expand Up @@ -264,7 +266,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=/usr/local/ \
-DPYTHON_EXECUTABLE=$(command -v python3) \
-DENABLE_TESTS=ON \
-DPIP_VERBOSE=ON \
-DPIP_OPTIONS:STRING="--verbose" \
-S xrootd \
-B build
cmake build -LH
Expand Down

0 comments on commit 4fe7763

Please sign in to comment.