mirror of
https://github.com/triqs/dft_tools
synced 2024-12-21 11:53:41 +01:00
[ghactions] For pull_request events use target branch name in the triqs clone command
This commit is contained in:
parent
b97eb29f3e
commit
54918d74ba
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