-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.01 KB
/
build.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
name: Build
on:
push:
branches:
- fixes
workflow_dispatch:
jobs:
autoreconf:
uses: turistu/odds-n-ends/.github/workflows/auto.yml@main
permissions:
contents: write
build-native:
needs: autoreconf
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-12, ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.ref_name}}-auto
- name: Build
id: build
timeout-minutes: 3
run: .github/build-native -r ${{matrix.os}}
- name: Save output
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: dropbearx-${{matrix.os}}${{steps.build.conclusion == 'failure' && '-FAILED' || ''}}
path: OUT/dropbearx-*
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