fix error when H265 decoder can not be opened #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: s390x build | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
workflow_dispatch: | |
inputs: | |
version: | |
description: dummy | |
default: dummy | |
jobs: | |
build-s390x: | |
name: s390x Build | |
runs-on: ubuntu-22.04 | |
if: | | |
true | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install deps | |
run: | | |
sudo apt-get update && \ | |
sudo DEBIAN_FRONTEND=noninteractive \ | |
apt-get install -y --no-install-recommends \ | |
ca-certificates qemu-system-s390x qemu-user-static \ | |
qemu-utils binfmt-support libc6-s390x-cross libatomic1-s390x-cross | |
- name: enable s390x emu | |
run: | | |
sudo modprobe binfmt_misc || echo "NO ERR" | |
sudo update-binfmts --enable || echo "NO ERR" | |
- name: check binfmt_misc | |
run: | | |
lsmod | grep binfmt_misc || echo "NO ERR" | |
ls -al /proc/sys/fs/binfmt_misc/ || echo "NO ERR" | |
- name: make script dockcross/linux-s390x | |
run: docker run --rm dockcross/linux-s390x > ./dockcross-linux-s390x; chmod +x ./dockcross-linux-s390x | |
- name: test | |
run: ./dockcross-linux-s390x bash -c 'ls -al;id;pwd;hostname;uname -a' | |
- name: build deps | |
run: | | |
./dockcross-linux-s390x bash -c './.circleci/build-cross-generic-linux' | |
- name: find output | |
run: | | |
find . -name libtoxcore.a | |
find . -name 'libtoxcore.so*' || echo "NO ERR" | |
find . -name friend_connection_test | |
file ./lib/libtoxcore.a || echo "NO ERR" | |
file ./build/friend_connection_test || echo "NO ERR" | |