Skip to content

Commit

Permalink
ignore release branch in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterTea committed Jul 30, 2020
1 parent b23244f commit 3a5b775
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
command: /etc/init.d/ssh start; rm -f ~/.ssh/id_rsa*; ssh-keygen -q -N "" -f ~/.ssh/id_rsa; cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys; rm -f ~/.ssh/known_hosts; ssh -o "StrictHostKeyChecking no" localhost ls
- run:
name: Init submodules
command: git submodule update --init
command: if [ $CIRCLE_BRANCH != "release" ]; then git submodule update --init; fi
- run:
name: Build the root version of the project
command: mkdir ../root_version; cp -Rf .git * ../root_version/; cd ../root_version; git checkout v6; mkdir build; cd build; cmake ../; make -j4
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- checkout
- run:
name: Init submodules
command: git submodule update --init
command: if [ $CIRCLE_BRANCH != "release" ]; then git submodule update --init; fi
- run:
name: Build the project with test
command: mkdir build; cd build; cmake -DSANITIZE_ADDRESS=ON ../; make -j4
Expand All @@ -88,7 +88,7 @@ jobs:
- checkout
- run:
name: Init submodules
command: git submodule update --init
command: if [ $CIRCLE_BRANCH != "release" ]; then git submodule update --init; fi
- run:
name: Build the project with test
command: mkdir build; cd build; cmake -DSANITIZE_THREAD=ON ../; make -j4
Expand All @@ -108,7 +108,7 @@ jobs:
- checkout
- run:
name: Init submodules
command: git submodule update --init
command: if [ $CIRCLE_BRANCH != "release" ]; then git submodule update --init; fi
- run:
name: Build the project with test
command: mkdir build; cd build; cmake -DSANITIZE_UNDEFINED=ON ../; make -j4
Expand All @@ -128,7 +128,7 @@ jobs:
- checkout
- run:
name: Init submodules
command: git submodule update --init
command: if [ $CIRCLE_BRANCH != "release" ]; then git submodule update --init; fi
- run:
name: Build the project with test
command: mkdir build; cd build; cmake -DSANITIZE_THREAD=ON ../; make -j4
Expand All @@ -143,4 +143,8 @@ workflows:
- linux_tsan
- linux_ubsan
- mac_tsan
- connect_to_initial_version
- connect_to_initial_version:
branches:
ignore:
- release

0 comments on commit 3a5b775

Please sign in to comment.