also turn off audio sync on playing when global sync off option is used #2
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: riscv64 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-riscv64: | |
name: riscv64 Build | |
runs-on: ubuntu-22.04 | |
if: | | |
true | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install deps | |
run: | | |
sudo apt-get update && \ | |
sudo DEBIAN_FRONTEND=noninteractive \ | |
apt-get install -y --no-install-recommends \ | |
ca-certificates qemu-system-riscv64 qemu-user-static \ | |
qemu-utils binfmt-support libc6-riscv64-cross libatomic1-riscv64-cross | |
- name: enable riscv64 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-riscv64 | |
run: docker run --rm dockcross/linux-riscv64 > ./dockcross-linux-riscv64; chmod +x ./dockcross-linux-riscv64 | |
- name: test | |
run: ./dockcross-linux-riscv64 bash -c 'ls -al;id;pwd;hostname;uname -a' | |
- name: build deps | |
run: | | |
./dockcross-linux-riscv64 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" | |