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