Skip to content

Commit aeff176

Browse files
Merge pull request #131 from NobuoTsukamoto/update_ci
Update build workflows (rpi, intel).
2 parents d237dc9 + 7e20cc9 commit aeff176

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/build_intel.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717

1818
env:
1919
TARGET_VERSION: master
20+
TARGET_BITBAKE_VERSION: master
2021
TARGET_INTEL_VERSION: master
2122
WORKING_DIR: /home/runner/work
2223
BUILD_DIR: /mnt/build
@@ -29,7 +30,7 @@ jobs:
2930

3031
strategy:
3132
matrix:
32-
target_machine: [genericx86-64, intel-corei7-64, intel-skylake-64]
33+
target_machine: [intel-corei7-64, intel-skylake-64]
3334
tensorflow_version: [2.19.1]
3435
fail-fast: false
3536

@@ -70,15 +71,16 @@ jobs:
7071
- name: Clone poky, meta-intel, meta-openembedded
7172
run: |
7273
sudo chown runner /mnt
73-
git clone --depth 1 -b ${TARGET_VERSION} git://git.yoctoproject.org/poky.git
7474
git clone --depth 1 -b ${TARGET_INTEL_VERSION} https://git.yoctoproject.org/meta-intel.git
75-
git clone --depth 1 -b ${TARGET_VERSION} git://git.openembedded.org/meta-openembedded
75+
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/openembedded-core.git
76+
git clone --depth 1 -b ${TARGET_BITBAKE_VERSION} https://github.com/openembedded/bitbake.git
77+
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/meta-openembedded.git
7678
working-directory: /home/runner/work
7779

7880
# Run bitbake
7981
- name: Bitbake MACHINE=${{ matrix.target_machine }}, TensorFlow-Lite version ${{ matrix.tensorflow_version }}
8082
run: |
81-
source ${WORKING_DIR}/poky/oe-init-build-env ${BUILD_DIR}
83+
source ${WORKING_DIR}/openembedded-core/oe-init-build-env ${BUILD_DIR}
8284
bitbake-layers add-layer ${WORKING_DIR}/meta-openembedded/meta-oe/
8385
bitbake-layers add-layer ${WORKING_DIR}/meta-openembedded/meta-python/
8486
bitbake-layers add-layer ${WORKING_DIR}/meta-tensorflow-lite/meta-tensorflow-lite/

.github/workflows/build_rpi.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717

1818
env:
1919
TARGET_VERSION: master
20+
TARGET_BITBAKE_VERSION: master
2021
WORKING_DIR: /home/runner/work
2122
BUILD_DIR: /mnt/build
2223
DOWNLOAD_DIR: /mnt/build/downloads
@@ -69,15 +70,16 @@ jobs:
6970
- name: Clone poky, meta-raspberrypi, meta-openembedded
7071
run: |
7172
sudo chown runner /mnt
72-
git clone --depth 1 -b ${TARGET_VERSION} git://git.yoctoproject.org/poky.git
7373
git clone --depth 1 -b ${TARGET_VERSION} git://git.yoctoproject.org/meta-raspberrypi
74-
git clone --depth 1 -b ${TARGET_VERSION} git://git.openembedded.org/meta-openembedded
74+
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/openembedded-core.git
75+
git clone --depth 1 -b ${TARGET_BITBAKE_VERSION} https://github.com/openembedded/bitbake.git
76+
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/meta-openembedded.git
7577
working-directory: /home/runner/work
7678

7779
# Run bitbake
7880
- name: Bitbake MACHINE=${{ matrix.target_machine }}, TensorFlow-Lite version ${{ matrix.tensorflow_version }}
7981
run: |
80-
source ${WORKING_DIR}/poky/oe-init-build-env ${BUILD_DIR}
82+
source ${WORKING_DIR}/openembedded-core/oe-init-build-env ${BUILD_DIR}
8183
bitbake-layers add-layer ${WORKING_DIR}/meta-openembedded/meta-oe/
8284
bitbake-layers add-layer ${WORKING_DIR}/meta-openembedded/meta-python/
8385
bitbake-layers add-layer ${WORKING_DIR}/meta-tensorflow-lite/meta-tensorflow-lite/

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ Please note that it is not official support.
5555
### Quick start for the Raspberry Pi AArch64 (core-image-weston)
5656
```
5757
# Clone repositories and oe-init-build-env
58-
$ git clone git://git.yoctoproject.org/poky.git
58+
$ git clone https://github.com/openembedded/bitbake.git
59+
$ git clone https://github.com/openembedded/openembedded-core.git
60+
$ git clone https://github.com/openembedded/meta-openembedded.git
5961
$ git clone git://git.yoctoproject.org/meta-raspberrypi
60-
$ git clone git://git.openembedded.org/meta-openembedded
6162
$ git clone https://github.com/NobuoTsukamoto/meta-tensorflow-lite.git
62-
$ source poky/oe-init-build-env build
63+
$ source openembedded-core/oe-init-build-env build
6364
6465
# Add layer
6566
$ bitbake-layers add-layer ../meta-openembedded/meta-oe/

0 commit comments

Comments
 (0)