Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libftdi1-dev for ftdi led device #5

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,16 @@ jobs:

- name: Build and tag docker image
run: docker build -t ghcr.io/hyperion-project/${{ matrix.file }}:${{ matrix.tag }} --build-arg DIST=${{ matrix.dist }} --build-arg SUITE=${{ matrix.tag }} -f apt/${{ matrix.file }} .
- name: Check whether we should publsh to GitHub Container/Package Registry
id: enabledockerpublish
env:
SECRET_DOCKER_CI: ${{ secrets.DOCKER_CI }}
run: |
echo "Enable docker publish: ${{ env.SECRET_DOCKER_CI != '' }}"
echo "::set-output name=enabledockerpublish::${{ env.SECRET_DOCKER_CI != '' }}"

- name: Publish to GitHub Container Registry
if: steps.enabledockerpublish.outputs.enabledockerpublish == 'true'
run: |
echo ${{ secrets.DOCKER_CI }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
docker push ghcr.io/hyperion-project/${{ matrix.file }}:${{ matrix.tag }}
9 changes: 8 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,15 @@ jobs:
- name: Build and tag docker image
run: |
docker build -t ghcr.io/hyperion-project/${{ matrix.dockerImage }}:${{ matrix.dockerTag }} --build-arg SUITE=${{ matrix.dockerTag }} -f ${{ matrix.dockerImage }} .

- name: Check whether we should publsh to GitHub Container/Package Registry
id: enabledockerpublish
env:
SECRET_DOCKER_CI: ${{ secrets.DOCKER_CI }}
run: |
echo "Enable docker publish: ${{ env.SECRET_DOCKER_CI != '' }}"
echo "::set-output name=enabledockerpublish::${{ env.SECRET_DOCKER_CI != '' }}"
- name: Publish to GitHub Container/Package Registry
if: steps.enabledockerpublish.outputs.enabledockerpublish == 'true'
run: |
echo ${{ secrets.DOCKER_CI }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker push ghcr.io/hyperion-project/${{ matrix.dockerImage }}:${{ matrix.dockerTag }}
3 changes: 2 additions & 1 deletion aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN install_packages \
libcec-dev \
libasound2-dev \
libjpeg-dev \
libturbojpeg0-dev
libturbojpeg0-dev \
libftdi1-dev

# install arch specific deps
RUN if [ "$SUITE" = "stretch" ]; then \
Expand Down
3 changes: 2 additions & 1 deletion armv6l
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN install_packages \
libssl1.0-dev \
libasound2-dev \
libjpeg-dev \
libturbojpeg0-dev && \
libturbojpeg0-dev \
libftdi1-dev && \
if [ "$SUITE" = "buster" ]; then \
apt-get update && apt-get install -y cmake=3.13.4-1 cmake-data=3.13.4-1; \
else \
Expand Down
3 changes: 2 additions & 1 deletion armv7l
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ RUN install_packages \
libssl1.0-dev \
libasound2-dev \
libjpeg-dev \
libturbojpeg0-dev && \
libturbojpeg0-dev \
libftdi1-dev && \
if [ "$SUITE" = "buster" ]; then \
apt-get update && apt-get install -y cmake=3.13.4-1 cmake-data=3.13.4-1; \
else \
Expand Down
3 changes: 2 additions & 1 deletion rpi-raspbian
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ RUN install_packages \
libraspberrypi-dev \
libasound2-dev \
libjpeg-dev \
libturbojpeg0-dev
libturbojpeg0-dev \
libftdi1-dev

RUN [ "cross-build-end" ]

Expand Down
3 changes: 2 additions & 1 deletion x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ RUN install_packages \
libxrender-dev \
libasound2-dev \
libjpeg-dev \
libturbojpeg0-dev
libturbojpeg0-dev \
libftdi1-dev

# install arch specific deps
RUN if [ "$SUITE" = "stretch" ]; then \
Expand Down