File tree 1 file changed +57
-0
lines changed
1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build release binaries
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ env :
7
+ CARGO_TERM_COLOR : always
8
+
9
+ jobs :
10
+ build :
11
+ name : build release
12
+ runs-on : ${{ matrix.configs.os }}
13
+ strategy :
14
+ matrix :
15
+ configs :
16
+ - target : x86_64-unknown-linux-gnu
17
+ os : ubuntu-24.04
18
+ profile : maxperf
19
+ - target : aarch64-unknown-linux-gnu
20
+ os : ubuntu-24.04
21
+ profile : maxperf
22
+ - target : x86_64-apple-darwin
23
+ os : macos-13
24
+ profile : maxperf
25
+ - target : aarch64-apple-darwin
26
+ os : macos-14
27
+ profile : maxperf
28
+ - target : x86_64-pc-windows-gnu
29
+ os : ubuntu-24.04
30
+ profile : maxperf
31
+ build :
32
+ - command : build
33
+ binary : reth
34
+ - command : op-build
35
+ binary : op-reth
36
+ steps :
37
+ - uses : actions/checkout@v4
38
+ - uses : rui314/setup-mold@v1
39
+ - uses : dtolnay/rust-toolchain@stable
40
+ with :
41
+ target : ${{ matrix.configs.target }}
42
+ - name : Install cross main
43
+ id : cross_main
44
+ run : |
45
+ cargo install cross --git https://github.com/cross-rs/cross
46
+ - uses : Swatinem/rust-cache@v2
47
+ with :
48
+ cache-on-failure : true
49
+
50
+ - name : Apple M1 setup
51
+ if : matrix.configs.target == 'aarch64-apple-darwin'
52
+ run : |
53
+ echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
54
+ echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV
55
+
56
+ - name : Build Reth
57
+ run : make PROFILE=${{ matrix.configs.profile }} ${{ matrix.build.command }}-${{ matrix.configs.target }}
You can’t perform that action at this time.
0 commit comments