File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 22
22
jobs :
23
23
24
24
cstor :
25
- runs-on : ubuntu-16.04
25
+ runs-on : ubuntu-latest
26
26
strategy :
27
27
fail-fast : true
28
28
matrix :
34
34
- name : Set Branch
35
35
run : |
36
36
BRANCH="${GITHUB_REF##*/}"
37
- REPO_ORG=${{ github.repository_owner }}
37
+ LCSTOR_ORG=openebs
38
38
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
39
- echo "REPO_ORG =${REPO_ORG }" >> $GITHUB_ENV
39
+ echo "LCSTOR_ORG =${LCSTOR_ORG }" >> $GITHUB_ENV
40
40
41
41
- name : Install Tool dependencies
42
42
run : buildscripts/install-tool-dep.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Mandatory variables
4
- # $REPO_ORG organisation from which to clone the dependent repositories
4
+ # $LCSTOR_ORG organisation from which to clone the dependent repositories
5
5
# $BRANCH to be used for building
6
6
#
7
7
# Optional variables
8
8
# $UZFS_BUILD variable need to be set. If not kernel mode zfs will be built
9
9
10
- if [ -z " ${REPO_ORG} " ]; then
11
- echo " REPO_ORG variable not set. Required for fetching dependent build repositories"
10
+
11
+ if [ -z " ${LCSTOR_ORG} " ]; then
12
+ echo " LCSTOR_ORG variable not set. Required for fetching dependent build repositories"
12
13
exit 1
13
14
else
14
- echo " Using repository organization: ${REPO_ORG } "
15
+ echo " Using repository organization: ${LCSTOR_ORG } "
15
16
fi
16
17
17
18
if [ -z " ${BRANCH} " ]; then
@@ -51,7 +52,7 @@ make -j4
51
52
cd ..
52
53
53
54
# clone and build SPL
54
- git clone https://github.com/${REPO_ORG } /spl
55
+ git clone https://github.com/${LCSTOR_ORG } /spl
55
56
cd spl || exit 1
56
57
git checkout spl-0.7.9
57
58
sh autogen.sh
67
68
cd ..
68
69
69
70
# Build libcstor for uzfs feature
70
- git clone https://github.com/${REPO_ORG } /libcstor.git
71
+ git clone https://github.com/${LCSTOR_ORG } /libcstor.git
71
72
cd libcstor || exit 1
72
73
if [ " ${BRANCH} " == " develop" ]; then
73
74
git checkout develop
Original file line number Diff line number Diff line change 3
3
# get the machine architecture
4
4
ARCH=$( uname -p)
5
5
6
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
7
6
sudo apt-get update -qq
8
7
sudo apt-get install --yes -qq gcc-6 g++-6
9
8
sudo apt-get install --yes -qq build-essential autoconf libtool gawk alien fakeroot libaio-dev jq
You can’t perform that action at this time.
0 commit comments