Skip to content

Commit dab68de

Browse files
Merge pull request #122 from NobuoTsukamoto/walnascar_riscv_ci
Update CI.
2 parents 14ad67f + a91fe26 commit dab68de

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/build_riscv.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
env:
1919
TARGET_VERSION: walnascar
2020
TARGET_BITBAKE_VERSION: 2.12
21-
TARGET_RISCV_VERSION: master
21+
TARGET_RISCV_VERSION: d23e5d677ddd40506a899621307dc7e21dfdd46c
2222
WORKING_DIR: /home/runner/work
2323
BUILD_DIR: /mnt/build
2424
DOWNLOAD_DIR: /mnt/build/downloads
@@ -70,7 +70,10 @@ jobs:
7070
- name: Clone meta-riscv, openembedded-core, bitbake, meta-openembedded
7171
run: |
7272
sudo chown runner /mnt
73-
git clone --depth 1 -b ${TARGET_RISCV_VERSION} https://github.com/riscv/meta-riscv.git
73+
git clone https://github.com/riscv/meta-riscv.git
74+
cd meta-riscv
75+
git checkout ${TARGET_RISCV_VERSION}
76+
cd ..
7477
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/openembedded-core.git
7578
git clone --depth 1 -b ${TARGET_BITBAKE_VERSION} https://github.com/openembedded/bitbake.git
7679
git clone --depth 1 -b ${TARGET_VERSION} https://github.com/openembedded/meta-openembedded.git
@@ -104,4 +107,4 @@ jobs:
104107
path: |
105108
${{ env.DOWNLOAD_DIR }}
106109
${{ env.SSTATE_DIR }}
107-
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
110+
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

.github/workflows/build_rpi.yml

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

1818
env:
1919
TARGET_VERSION: walnascar
20-
TARGET_RASPI_VERSION: master
20+
TARGET_RASPI_VERSION: 49a2d124890b96d28a590e52e6d0dd611c114f6b
2121
WORKING_DIR: /home/runner/work
2222
BUILD_DIR: /mnt/build
2323
DOWNLOAD_DIR: /mnt/build/downloads
@@ -71,7 +71,10 @@ jobs:
7171
run: |
7272
sudo chown runner /mnt
7373
git clone --depth 1 -b ${TARGET_VERSION} git://git.yoctoproject.org/poky.git
74-
git clone --depth 1 -b ${TARGET_RASPI_VERSION} git://git.yoctoproject.org/meta-raspberrypi
74+
git clone git://git.yoctoproject.org/meta-raspberrypi
75+
cd meta-raspberrypi
76+
git checkout ${TARGET_RASPI_VERSION}
77+
cd ..
7578
git clone --depth 1 -b ${TARGET_VERSION} git://git.openembedded.org/meta-openembedded
7679
working-directory: /home/runner/work
7780

0 commit comments

Comments
 (0)