Skip to content

Commit 48496a5

Browse files
committed
ci: wtff
1 parent 67bca95 commit 48496a5

File tree

3 files changed

+78
-5
lines changed

3 files changed

+78
-5
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
version: 2
33
updates:
4-
54
- package-ecosystem: cargo
65
directory: /
76
schedule:

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
name: CI
3-
42
on:
53
push:
64
branches:

.github/workflows/release.yml

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,86 @@ on:
77
- "*"
88

99
jobs:
10-
build:
10+
lint:
1111
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: ">= 0"
19+
20+
- uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
default: true
24+
override: true
25+
26+
- run: |-
27+
make lint
28+
29+
build:
30+
strategy:
31+
matrix:
32+
jobs:
33+
- runner: ubuntu-latest
34+
triple: aarch64-unknown-linux-gnu
35+
36+
- runner: ubuntu-latest
37+
triple: aarch64-unknown-linux-musl
38+
39+
- runner: ubuntu-latest
40+
triple: x86_64-pc-windows-gnu
41+
42+
- runner: ubuntu-latest
43+
triple: x86_64-unknown-linux-gnu
44+
45+
- runner: ubuntu-latest
46+
triple: x86_64-unknown-linux-musl
47+
48+
- runner: macos-latest
49+
triple: aarch64-apple-darwin
50+
51+
- runner: macos-latest
52+
triple: x86_64-apple-darwin
53+
54+
- runner: windows-latest
55+
triple: aarch64-pc-windows-msvc
56+
57+
- runner: windows-latest
58+
triple: x86_64-pc-windows-msvc
59+
60+
runs-on: ${{ matrix.jobs.runner }}
61+
1262
steps:
13-
- uses: ./ci.yml
63+
- uses: actions/checkout@v4
64+
65+
- uses: actions/setup-python@v5
66+
with:
67+
python-version: ">= 0"
68+
69+
- uses: actions-rs/toolchain@v1
70+
with:
71+
toolchain: stable
72+
default: true
73+
override: true
74+
75+
- run: |-
76+
make deps
77+
78+
- run: |-
79+
make release TRIPLE=${{ matrix.jobs.triple }}
80+
81+
- uses: actions/upload-artifact@v4
82+
with:
83+
name: ${{ matrix.jobs.triple }}.zip
84+
path: artifacts/${{ matrix.jobs.triple }}.zip
85+
86+
- uses: actions/upload-artifact@v4
87+
with:
88+
name: ${{ matrix.jobs.triple }}.deb
89+
path: artifacts/${{ matrix.jobs.triple }}.deb
1490

1591
release:
1692
permissions:

0 commit comments

Comments
 (0)