Skip to content

Commit

Permalink
remove arm64 build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
fzwoch committed Nov 15, 2023
1 parent 0e6248b commit 4baf854
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build x86_64
run: |
meson setup --buildtype=release -Dlibobs=disabled -Dc_args=-I/obs -Dc_link_args='-Wl,--unresolved-symbols=ignore-all -static-libgcc' x86_64
meson compile -C x86_64
- name: Generate aarch64 cross file
run: |
echo "[binaries]" > aarch64.txt
echo "c = 'aarch64-linux-gnu-gcc'" >> aarch64.txt
echo "strip = 'aarch64-linux-gnu-strip'" >> aarch64.txt
echo "pkgconfig = 'aarch64-linux-gnu-pkg-config'" >> aarch64.txt
echo "" >> aarch64.txt
echo "[host_machine]" >> aarch64.txt
echo "system = 'linux'" >> aarch64.txt
echo "cpu_family = 'aarch64'" >> aarch64.txt
echo "cpu = 'aarch64'" >> aarch64.txt
echo "endian = 'little'" >> aarch64.txt
- name: Build aarch64
run: |
meson setup --cross-file=aarch64.txt --buildtype=release -Dlibobs=disabled -Dc_args=-I/obs -Dc_link_args='-Wl,--unresolved-symbols=ignore-all -static-libgcc' aarch64
meson compile -C aarch64
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: obs-vaapi
path: |
x86_64/*.so
aarch64/*.so
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@

FROM debian:bookworm

RUN dpkg --add-architecture arm64

RUN apt update \
&& apt install -y \
git ninja-build meson wget dpkg-dev \
gcc libsimde-dev libgstreamer-plugins-base1.0-dev libpci-dev

RUN apt install -y gcc-aarch64-linux-gnu libsimde-dev:arm64 \
libgstreamer-plugins-base1.0-dev:arm64 libpci-dev:arm64 \
gcc libsimde-dev libgstreamer-plugins-base1.0-dev libpci-dev \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://github.com/obsproject/obs-studio/archive/refs/tags/28.0.0.tar.gz \
Expand Down

0 comments on commit 4baf854

Please sign in to comment.