Skip to content

Commit ebfb34d

Browse files
committed
Troubleshoot Pi Image test failures
1 parent 1a10c85 commit ebfb34d

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/workflows/setup_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
with:
5454
path: ${{ github.workspace }}/pi_image_3.img.xz
5555
key: ${{ runner.os }}-pi_image_3.img.xz-v1
56+
57+
# Troubleshooting based on copilot suggestions
58+
- name: Install host dependencies
59+
run: |
60+
sudo apt update
61+
sudo apt install build-essential gcc g++ make libsndfile1 libportaudio2 libarmadillo-dev qemu qemu-user-static qemu-system-arm
62+
5663
- name: Test chroot installation
5764
uses: pguyot/arm-runner-action@v2
5865
with:
@@ -87,6 +94,13 @@ jobs:
8794
with:
8895
path: ${{ github.workspace }}/pi_image_3.img.xz
8996
key: ${{ runner.os }}-pi_image_3.img.xz-v1
97+
98+
# Troubleshooting based on copilot suggestions
99+
- name: Install host dependencies
100+
run: |
101+
sudo apt update
102+
sudo apt install build-essential gcc g++ make libsndfile1 libportaudio2 libarmadillo-dev qemu qemu-user-static qemu-system-arm
103+
90104
- name: Test chroot installation
91105
uses: pguyot/arm-runner-action@v2
92106
with:

test/pi_setup_3_10.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ echo "deb http://forslund.github.io/mycroft-desktop-repo bionic main" | tee /etc
3939
apt update
4040
apt install -y sox gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev mimic espeak-ng g++ libjpeg-dev make || exit 1
4141

42+
# Troubleshooting based on copilot suggestions
43+
sudo apt install build-essential gcc g++ make libsndfile1 libportaudio2 libarmadillo-dev qemu qemu-user-static qemu-system-arm
44+
4245
cd /core || exit 10
4346
python3.10 -m venv "/core/venv" || exit 11
4447
. /core/venv/bin/activate

test/pi_setup_3_11.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ echo "deb http://forslund.github.io/mycroft-desktop-repo bionic main" | tee /etc
3939
apt update
4040
apt install -y sox gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev mimic espeak-ng g++ libjpeg-dev make python3.11-dev python3.11-venv || exit 1
4141

42+
# Troubleshooting based on copilot suggestions
43+
sudo apt install build-essential gcc g++ make libsndfile1 libportaudio2 libarmadillo-dev qemu qemu-user-static qemu-system-arm
44+
4245
cd /core || exit 10
4346
python3.11 -m venv "/core/venv" || exit 11
4447
. /core/venv/bin/activate

0 commit comments

Comments
 (0)