-
Notifications
You must be signed in to change notification settings - Fork 39
63 lines (61 loc) · 1.97 KB
/
dist.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Dist
on:
push:
branches: [ release, next ]
pull_request:
branches: [ release, next ]
jobs:
linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: tool/cross --target-x86_64-unknown-linux-musl --target-x86_64-unknown-linux-gnu --target-x86_64-apple-darwin --target-armv7-unknown-linux-musleabihf --target-armv7-unknown-linux-gnueabihf --target-aarch64-unknown-linux-musl --target-aarch64-unknown-linux-gnu
- uses: actions/upload-artifact@v4
with:
name: x86_64-unknown-linux-musl
path: out/x86_64-unknown-linux-musl
- uses: actions/upload-artifact@v4
with:
name: x86_64-unknown-linux-gnu
path: out/x86_64-unknown-linux-gnu
- uses: actions/upload-artifact@v4
with:
name: armv7-unknown-linux-musleabihf
path: out/armv7-unknown-linux-musleabihf
- uses: actions/upload-artifact@v4
with:
name: armv7-unknown-linux-gnueabihf
path: out/armv7-unknown-linux-gnueabihf
- uses: actions/upload-artifact@v4
with:
name: aarch64-unknown-linux-musl
path: out/aarch64-unknown-linux-musl
- uses: actions/upload-artifact@v4
with:
name: aarch64-unknown-linux-gnu
path: out/aarch64-unknown-linux-gnu
apple:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: tool/cross --target-aarch64-apple-darwin
- uses: actions/upload-artifact@v4
with:
name: aarch64-apple-darwin
path: out/aarch64-apple-darwin
windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- shell: bash
run: tool/cross --target-x86_64-pc-windows-msvc
- uses: actions/upload-artifact@v4
with:
name: x86_64-pc-windows-msvc
path: out/x86_64-pc-windows-msvc