forked from strace/strace
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 1.01 KB
/
build-with-ndk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build native and with the NDK
on:
push:
branches:
- fixes
workflow_dispatch:
workflow_call:
jobs:
autoreconf:
uses: turistu/odds-n-ends/.github/workflows/auto.yml@main
with:
cmd: ./bootstrap
permissions:
contents: write
build-with-ndk:
needs: autoreconf
uses: turistu/odds-n-ends/.github/workflows/build-with-ndk.yml@main
with:
build: .github/build-with-ndk
ref: ${{github.ref_name}}-auto
build-native:
needs: autoreconf
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.ref_name}}-auto
- run: sudo apt-get install gcc-multilib
- run: ./configure
- run: make
# - run: make check
sync-for-upstream:
needs: [build-with-ndk, build-native]
uses: turistu/odds-n-ends/.github/workflows/sync.yml@main
secrets: inherit
with:
branch: for-upstream
upstream: https://github.com/strace/strace
op: rebase
permissions:
contents: write