Browse Source

Github Actions: clone complete history to support version extraction

tempestpy_adaptions
Matthias Volk 4 years ago
parent
commit
49dff36512
No known key found for this signature in database GPG Key ID: 83A57678F739FCD3
  1. 4
      .github/workflows/buildtest.yml

4
.github/workflows/buildtest.yml

@ -45,7 +45,7 @@ jobs:
- name: Init Docker - name: Init Docker
run: sudo docker run -d -it --name storm --privileged movesrwth/storm-basesystem:${{ matrix.distro }} run: sudo docker run -d -it --name storm --privileged movesrwth/storm-basesystem:${{ matrix.distro }}
- name: Git clone - name: Git clone
run: sudo docker exec storm git clone --depth 1 --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm
run: sudo docker exec storm git clone --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm
- name: Run cmake - name: Run cmake
run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}" run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}"
- name: Build storm - name: Build storm
@ -115,7 +115,7 @@ jobs:
# Build & TEST & DEPLOY STORM # Build & TEST & DEPLOY STORM
##### #####
- name: Git clone - name: Git clone
run: sudo docker exec storm git clone --depth 1 --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm
run: sudo docker exec storm git clone --branch $STORM_BRANCH $STORM_GIT_URL /opt/storm
- name: Run cmake - name: Run cmake
run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}" run: sudo docker exec storm bash -c "mkdir /opt/storm/build; cd /opt/storm/build; cmake .. ${CMAKE_ARGS}"
- name: Build storm - name: Build storm

Loading…
Cancel
Save