File tree Expand file tree Collapse file tree 6 files changed +67
-13
lines changed Expand file tree Collapse file tree 6 files changed +67
-13
lines changed Original file line number Diff line number Diff line change 26
26
- name : Install prerequisite packages (Bazel & zip)
27
27
run : sudo apt install apt-transport-https curl gnupg gcc-11 g++-11 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
28
28
29
- - name : Clone the tensorflow library & checkout to latest tag
30
- run : git clone https://github.com/tensorflow/tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
29
+ - name : Clone the TensorFlow repository
30
+ run : git clone https://github.com/tensorflow/tensorflow
31
+
32
+ - name : Checkout latest tag
33
+ working-directory : tensorflow
34
+ run : |
35
+ git fetch --tags
36
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
37
+ echo "Checking out tag: $latest_tag"
38
+ git checkout "$latest_tag"
31
39
32
40
- name : Build the tensorflow lite library using Bazel
33
41
working-directory : ./tensorflow
Original file line number Diff line number Diff line change 24
24
- name : Install prerequisite packages (Bazel & zip)
25
25
run : sudo apt install apt-transport-https curl gnupg gcc-13 g++-13 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
26
26
27
- - name : Clone the tensorflow library & checkout to latest tag
28
- run : git clone https://github.com/tensorflow/tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
27
+ - name : Clone the TensorFlow repository
28
+ run : git clone https://github.com/tensorflow/tensorflow
29
+
30
+ - name : Checkout latest tag
31
+ working-directory : tensorflow
32
+ run : |
33
+ git fetch --tags
34
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
35
+ echo "Checking out tag: $latest_tag"
36
+ git checkout "$latest_tag"
29
37
30
38
- name : Build the tensorflow lite library using Bazel
31
39
working-directory : ./tensorflow
Original file line number Diff line number Diff line change 24
24
- name : Install prerequisite packages (Bazel & zip)
25
25
run : sudo apt install apt-transport-https curl gnupg gcc-11 g++-11 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
26
26
27
- - name : Clone the tensorflow library & checkout to latest tag
28
- run : git clone https://github.com/tensorflow/tensorflow && cd tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
27
+ - name : Clone the TensorFlow repository
28
+ run : git clone https://github.com/tensorflow/tensorflow
29
+
30
+ - name : Checkout latest tag
31
+ working-directory : tensorflow
32
+ run : |
33
+ git fetch --tags
34
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
35
+ echo "Checking out tag: $latest_tag"
36
+ git checkout "$latest_tag"
29
37
30
38
- name : Build the tensorflow lite library using Bazel
31
39
working-directory : ./tensorflow
Original file line number Diff line number Diff line change 24
24
- name : Install prerequisite packages (Bazel & zip)
25
25
run : sudo apt install apt-transport-https curl gnupg gcc-13 g++-13 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
26
26
27
- - name : Clone the tensorflow library & checkout to latest tag
28
- run : git clone https://github.com/tensorflow/tensorflow && cd tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
27
+ - name : Clone the TensorFlow repository
28
+ run : git clone https://github.com/tensorflow/tensorflow
29
+
30
+ - name : Checkout latest tag
31
+ working-directory : tensorflow
32
+ run : |
33
+ git fetch --tags
34
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
35
+ echo "Checking out tag: $latest_tag"
36
+ git checkout "$latest_tag"
29
37
30
38
- name : Build the tensorflow lite library using Bazel
31
39
working-directory : ./tensorflow
Original file line number Diff line number Diff line change 24
24
- name : Install prerequisite packages (Bazel & zip)
25
25
run : sudo apt install apt-transport-https curl gnupg gcc-11 g++-11 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
26
26
27
- - name : Clone the tensorflow library & checkout to latest tag
28
- run : git clone https://github.com/tensorflow/tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
27
+ - name : Clone the TensorFlow repository
28
+ run : git clone https://github.com/tensorflow/tensorflow
29
+
30
+ - name : Checkout latest tag
31
+ working-directory : tensorflow
32
+ run : |
33
+ git fetch --tags
34
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
35
+ echo "Checking out tag: $latest_tag"
36
+ git checkout "$latest_tag"
29
37
30
38
- name : Build the tensorflow lite library using Bazel
31
39
working-directory : ./tensorflow
Original file line number Diff line number Diff line change @@ -23,10 +23,24 @@ jobs:
23
23
- run : sudo apt-get remove gcc g++
24
24
25
25
- name : Install prerequisite packages (Bazel & zip)
26
- run : sudo apt install apt-transport-https curl gnupg gcc-13 g++-13 -y && curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && sudo mv bazel-archive-keyring.gpg /usr/share/keyrings && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list && sudo apt update && sudo apt-get -y install zip bazel-6.5.0
26
+ run : |
27
+ sudo apt install apt-transport-https curl gnupg gcc-13 g++-13 -y
28
+ curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
29
+ sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
30
+ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
31
+ sudo apt update
32
+ sudo apt-get -y install zip bazel-6.5.0
27
33
28
- - name : Clone the tensorflow library & checkout to latest tag
29
- run : git clone https://github.com/tensorflow/tensorflow && git fetch --tags && tag=$(git describe --tags `git rev-list --tags --max-count=1`) && cd tensorflow && git checkout $tag
34
+ - name : Clone the TensorFlow repository
35
+ run : git clone https://github.com/tensorflow/tensorflow
36
+
37
+ - name : Checkout latest tag
38
+ working-directory : tensorflow
39
+ run : |
40
+ git fetch --tags
41
+ latest_tag=$(git tag --sort=-creatordate | head -n 1)
42
+ echo "Checking out tag: $latest_tag"
43
+ git checkout "$latest_tag"
30
44
31
45
- name : Build the tensorflow lite library using Bazel
32
46
working-directory : ./tensorflow
You can’t perform that action at this time.
0 commit comments