mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 04:13:47 +01:00
[ghactions] For pull_request events use target branch name in the triqs clone command
This commit is contained in:
parent
5687b24d30
commit
08871798fc
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -108,8 +108,9 @@ jobs:
|
||||
env:
|
||||
CC: ${{ matrix.cc }}
|
||||
CXX: ${{ matrix.cxx }}
|
||||
TRIQS_BRANCH: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
|
||||
run: |
|
||||
git clone https://github.com/TRIQS/triqs --branch ${{ github.ref_name }}
|
||||
git clone https://github.com/TRIQS/triqs --branch $TRIQS_BRANCH
|
||||
mkdir triqs/build && cd triqs/build
|
||||
cmake .. -DBuild_Tests=OFF -DCMAKE_INSTALL_PREFIX=$HOME/install
|
||||
make -j1 install VERBOSE=1
|
||||
|
Loading…
Reference in New Issue
Block a user