File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,35 +15,18 @@ jobs:
1515 - name : Checkout repository
1616 uses : actions/checkout@v6
1717
18- - name : Install system packages for GStreamer + ARM toolchain
19- run : |
20- sudo apt-get update
21- sudo apt-get install -y \
22- build-essential \
23- cmake \
24- pkg-config \
25- libgstreamer1.0-dev \
26- libgstreamer-plugins-base1.0-dev \
27- gstreamer1.0-plugins-good \
28- gstreamer1.0-plugins-bad \
29- gstreamer1.0-plugins-ugly \
30- gstreamer1.0-libav \
31- gcc-arm-linux-gnueabihf \
32- libc6-dev-armhf-cross \
33- libpulse-dev \
34- git \
35- curl
36-
3718 - name : Install Rust and ARM target
3819 uses : actions-rs/toolchain@v1
3920 with :
4021 toolchain : stable
4122 target : arm-unknown-linux-gnueabihf
4223 override : true
4324
44- - name : Build project
45- run : |
46- cargo build --release --target arm-unknown-linux-gnueabihf
25+ - name : Install cross
26+ run : cargo install cross
27+
28+ - name : Build with cross
29+ run : cross build --release --target arm-unknown-linux-gnueabihf
4730
4831 - name : Upload compiled binaries
4932 uses : actions/upload-artifact@v6
You can’t perform that action at this time.
0 commit comments