Use syscall(SYS_gettid)
because gettid()
is only in new-ish glibc
#214
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: Android Build | |
on: [push, pull_request] | |
jobs: | |
android-build: | |
name: Android Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Dockerfile | |
shell: bash | |
run: docker build -t rr-android .android | |
- name: Create dist dir | |
shell: bash | |
run: mkdir -p obj/dist | |
- name: Build RR | |
shell: bash | |
run: | | |
docker run --rm \ | |
-v $(pwd):/src/rr \ | |
-v $(pwd)/obj/dist:/dist \ | |
rr-android | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: rr | |
path: obj/dist/rr-*-Android-x86_64.tar.gz |