MAJOR FIX: Run build directly in Debian container instead of Ubuntu
Some checks failed
Build libfuse / Build and Test (push) Failing after 1s
Some checks failed
Build libfuse / Build and Test (push) Failing after 1s
- Change runner to use debian:trixie container directly - Remove Docker-in-Docker approach that was causing GPG key conflicts - Build libfuse directly in Debian environment - Remove unnecessary Docker cleanup steps - This should resolve the GPG key verification issues The previous approach was running Ubuntu runner with Debian container inside, causing GPG key conflicts between Ubuntu and Debian repositories.
This commit is contained in:
parent
ec9480eb60
commit
ddfb366cfe
1 changed files with 5 additions and 15 deletions
|
|
@ -12,6 +12,8 @@ jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: debian:trixie
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -30,15 +32,10 @@ jobs:
|
||||||
# Verify files are copied
|
# Verify files are copied
|
||||||
ls -la /workspace/particle-os/libfuse/
|
ls -la /workspace/particle-os/libfuse/
|
||||||
|
|
||||||
- name: Build libfuse in Debian container
|
- name: Build libfuse
|
||||||
run: |
|
run: |
|
||||||
# Run the build directly in Debian container
|
# Build directly in Debian environment
|
||||||
docker run --rm \
|
cd /workspace/particle-os/libfuse
|
||||||
--add-host=host.docker.internal:host-gateway \
|
|
||||||
-v /workspace/particle-os/libfuse:/workspace \
|
|
||||||
-w /workspace \
|
|
||||||
debian:trixie \
|
|
||||||
bash -c '
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Add Debian GPG keys FIRST - this must happen before any apt-get update
|
# Add Debian GPG keys FIRST - this must happen before any apt-get update
|
||||||
|
|
@ -159,7 +156,6 @@ jobs:
|
||||||
# Verify the library is available
|
# Verify the library is available
|
||||||
ldconfig -p | grep libfuse3
|
ldconfig -p | grep libfuse3
|
||||||
pkg-config --exists fuse3 && echo "fuse3.pc found" || echo "fuse3.pc not found"
|
pkg-config --exists fuse3 && echo "fuse3.pc found" || echo "fuse3.pc not found"
|
||||||
'
|
|
||||||
|
|
||||||
- name: Prepare artifacts
|
- name: Prepare artifacts
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -222,9 +218,3 @@ jobs:
|
||||||
echo " - Info: artifacts/BUILD_INFO.md"
|
echo " - Info: artifacts/BUILD_INFO.md"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
- name: Cleanup
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
# Clean up apt-cacher-ng container
|
|
||||||
docker stop apt-cacher-ng 2>/dev/null || true
|
|
||||||
docker rm apt-cacher-ng 2>/dev/null || true
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue