Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Mar 22, 2024
1 parent 30783c3 commit 85efe25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 59 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/build-deb.yml

This file was deleted.

18 changes: 16 additions & 2 deletions .github/workflows/build-arm64.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build arm64 packages
name: Build packages
on:
push: {}
workflow_dispatch: {}
Expand All @@ -14,13 +14,27 @@ jobs:
git config --global --add safe.directory /__w/Azure-Kinect-Sensor-SDK/Azure-Kinect-Sensor-SDK
git submodule update --init --recursive
- name: Build
- name: Build amd64 packages
run: |
docker run --platform linux/arm64 -v $PWD:/ws \
-w /ws \
--entrypoint /bin/bash \
ghcr.io/fortefibre/buildroot:humble-aarch64 \
-c "bash .github/build.bash"
mkdir -p artifacts
cp build/*.deb artifacts/
docker rmi ghcr.io/fortefibre/buildroot:humble-aarch64
sudo rm -rf build/
- name: Build amd64 packages
run: |
docker run -v $PWD:/ws \
-w /ws \
--entrypoint /bin/bash \
ghcr.io/fortefibre/buildroot:humble-amd64 \
-c "bash .github/build.bash"
mkdir -p artifacts
cp build/*.deb artifacts/
- name: Upload packages
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 85efe25

Please sign in to comment.