Skip to content

Commit 6197de6

Browse files
updated workflow files
1 parent 39545c9 commit 6197de6

6 files changed

+67
-13
lines changed

.github/workflows/build-aarch64-generic-jammy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,16 @@ jobs:
2626
- name: Install prerequisite packages (Bazel & zip)
2727
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
2828

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"
3139
3240
- name: Build the tensorflow lite library using Bazel
3341
working-directory: ./tensorflow

.github/workflows/build-aarch64-generic-noble.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
- name: Install prerequisite packages (Bazel & zip)
2525
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
2626

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"
2937
3038
- name: Build the tensorflow lite library using Bazel
3139
working-directory: ./tensorflow

.github/workflows/build-x86_64-avx2-jammy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
- name: Install prerequisite packages (Bazel & zip)
2525
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
2626

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"
2937
3038
- name: Build the tensorflow lite library using Bazel
3139
working-directory: ./tensorflow

.github/workflows/build-x86_64-avx2-noble.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
- name: Install prerequisite packages (Bazel & zip)
2525
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
2626

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"
2937
3038
- name: Build the tensorflow lite library using Bazel
3139
working-directory: ./tensorflow

.github/workflows/build-x86_64-generic-jammy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ jobs:
2424
- name: Install prerequisite packages (Bazel & zip)
2525
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
2626

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"
2937
3038
- name: Build the tensorflow lite library using Bazel
3139
working-directory: ./tensorflow

.github/workflows/build-x86_64-generic-noble.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,24 @@ jobs:
2323
- run: sudo apt-get remove gcc g++
2424

2525
- 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
2733
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"
3044
3145
- name: Build the tensorflow lite library using Bazel
3246
working-directory: ./tensorflow

0 commit comments

Comments
 (0)