Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks authored Oct 4, 2023
1 parent b1790c7 commit bd865c2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ jobs:
main:
strategy:
fail-fast: false
runs-on: ubuntu-20.04
container: ghcr.io/mopidy/gst-plugin-spotify-build:latest
matrix:
matrix:
include:
- rust_target: arm-unknown-linux-gnueabihf
linker_target: arm-linux-gnueabihf
rust_flags: -C linker=$RPI_LINKER -L$RPI_SYSROOT/lib -L$RPI_SYSROOT/usr/lib
runs-on: ubuntu-20.04
container: ghcr.io/mopidy/gst-plugin-spotify-build:latest
env:
GST_PLUGIN: gst-plugin-spotify
RPI_DIR: /rpi-tools/arm-bcm2708/arm-linux-gnueabihf
RPI_SYSROOT: ${{ env.RPI_DIR }}/arm-linux-gnueabihf/sysroot
RPI_LINKER: ${{ env.RPI_DIR }}/bin/arm-linux-gnueabihf-gcc
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -61,6 +65,7 @@ jobs:
RPI_LINKER="$RPI_DIR/bin/arm-linux-gnueabihf-gcc"
RUSTFLAGS="-C linker=$RPI_LINKER -L$RPI_SYSROOT/lib -L$RPI_SYSROOT/usr/lib"
echo "RUSTFLAGS=$RUSTFLAGS" >> $GITHUB_ENV
echo "RUSTFLAGS is ${{ matrix.rust_flags }}"
- name: Build gst-plugins-rs
run: |
Expand Down

0 comments on commit bd865c2

Please sign in to comment.