From d56e6f14925bda2548489d52df9d453ebaa3c084 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:23:15 +0000 Subject: [PATCH 1/7] Initial Bitbucket Pipelines configuration --- bitbucket-pipelines.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..e1fe056 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,14 @@ +# This is a sample build configuration for C++ – Make. +# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples. +# Only use spaces to indent your .yml configuration. +# ----- +# You can specify a custom docker image from Docker Hub as your build environment. +image: gcc:6.5 + +pipelines: + default: + - step: + script: # Modify the commands below to build your repository. + - mkdir -p build && cd build + - cmake .. + - make -j From 5ceb8ddb7e434a7c16931f6585de0cea0d3c41da Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:26:08 +0000 Subject: [PATCH 2/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e1fe056..74fa85f 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -10,5 +10,7 @@ pipelines: - step: script: # Modify the commands below to build your repository. - mkdir -p build && cd build + - apt update + - apt install -y cmake - cmake .. - make -j From 314f3c1fccf0d1cc185b56e713feedbcc940cab1 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:31:16 +0000 Subject: [PATCH 3/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 74fa85f..0171df2 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -10,7 +10,7 @@ pipelines: - step: script: # Modify the commands below to build your repository. - mkdir -p build && cd build - - apt update - - apt install -y cmake + - apt-get update + - apt-get -t jessie-backports install -y cmake - cmake .. - make -j From afb17c78d40bb6425b84cd47cd2c213c70590b28 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:48:14 +0000 Subject: [PATCH 4/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 0171df2..4e1744f 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -3,7 +3,7 @@ # Only use spaces to indent your .yml configuration. # ----- # You can specify a custom docker image from Docker Hub as your build environment. -image: gcc:6.5 +image: nvidia/cuda pipelines: default: @@ -11,6 +11,6 @@ pipelines: script: # Modify the commands below to build your repository. - mkdir -p build && cd build - apt-get update - - apt-get -t jessie-backports install -y cmake + - apt-get install -y cmake - cmake .. - make -j From fba09d2427cda73b94f29a850edf497497e08a5b Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:51:36 +0000 Subject: [PATCH 5/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4e1744f..92e7401 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,6 +11,7 @@ pipelines: script: # Modify the commands below to build your repository. - mkdir -p build && cd build - apt-get update - - apt-get install -y cmake + - apt-get install -y cmake flex bison + - ../scripts/compile_acc.sh - cmake .. - make -j From bc6f91f6104b78b0d3b7ab5b571cc88a71ad2c9f Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 12:53:50 +0000 Subject: [PATCH 6/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 92e7401..61c8ecc 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -9,6 +9,7 @@ pipelines: default: - step: script: # Modify the commands below to build your repository. + - source ./sourceme.sh - mkdir -p build && cd build - apt-get update - apt-get install -y cmake flex bison From 6ec5e5a2c6122476d879b02c06e10e6919c7a6c3 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Tue, 9 Jul 2019 13:21:16 +0000 Subject: [PATCH 7/7] bitbucket-pipelines.yml edited online with Bitbucket --- bitbucket-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 61c8ecc..89ad78f 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -6,7 +6,9 @@ image: nvidia/cuda pipelines: - default: + # default: # Default is run at every push but we have only 500 build minutes / month so that probably wouldn't work out + custom: # Manual/scheduled building only + scheduled: - step: script: # Modify the commands below to build your repository. - source ./sourceme.sh