File tree 3 files changed +22
-17
lines changed
3 files changed +22
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Build
2
- description : Builds the index
1
+ name : Setup rust
2
+ description : Installs rust for cross-compilation on ARM
3
3
4
4
runs :
5
5
using : " composite"
8
8
shell : bash
9
9
run : sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends g++-aarch64-linux-gnu
10
10
11
- - name : Setup environment
12
- shell : bash
13
- run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
14
-
15
11
- name : Install rust
16
12
shell : bash
17
13
run : |
18
14
rustup toolchain install stable --profile minimal
19
15
rustup target add aarch64-unknown-linux-gnu
20
-
21
- - name : Setup cache
22
- uses : Swatinem/rust-cache@v2
23
-
24
- - name : Build
25
- shell : bash
26
- id : build
27
- run : |
28
- cargo build --release --target aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change 14
14
- name : Checkout repository
15
15
uses : actions/checkout@v4
16
16
17
+ - name : Setup rust
18
+ uses : ./.github/actions/setup-rust
19
+
20
+ - name : Setup cache
21
+ uses : Swatinem/rust-cache@v2
22
+
17
23
- name : Build
18
- uses : ./.github/actions/build
24
+ shell : bash
25
+ id : build
26
+ run : |
27
+ cargo build --release --target aarch64-unknown-linux-gnu
19
28
20
29
- name : Upload artifact
21
30
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 12
12
- name : Checkout repository
13
13
uses : actions/checkout@v4
14
14
15
+ - name : Setup rust
16
+ uses : ./.github/actions/setup-rust
17
+
18
+ - name : Setup cache
19
+ uses : Swatinem/rust-cache@v2
20
+
15
21
- name : Build
16
- uses : ./.github/actions/build
22
+ shell : bash
23
+ id : build
24
+ run : |
25
+ cargo build --release --target aarch64-unknown-linux-gnu
17
26
18
27
- name : Create ssh key
19
28
run : |
You can’t perform that action at this time.
0 commit comments