File tree Expand file tree Collapse file tree 3 files changed +22
-17
lines changed
Expand file tree Collapse file tree 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
33
44runs :
55 using : " composite"
88 shell : bash
99 run : sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends g++-aarch64-linux-gnu
1010
11- - name : Setup environment
12- shell : bash
13- run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
14-
1511 - name : Install rust
1612 shell : bash
1713 run : |
1814 rustup toolchain install stable --profile minimal
1915 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 1414 - name : Checkout repository
1515 uses : actions/checkout@v4
1616
17+ - name : Setup rust
18+ uses : ./.github/actions/setup-rust
19+
20+ - name : Setup cache
21+ uses : Swatinem/rust-cache@v2
22+
1723 - name : Build
18- uses : ./.github/actions/build
24+ shell : bash
25+ id : build
26+ run : |
27+ cargo build --release --target aarch64-unknown-linux-gnu
1928
2029 - name : Upload artifact
2130 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1212 - name : Checkout repository
1313 uses : actions/checkout@v4
1414
15+ - name : Setup rust
16+ uses : ./.github/actions/setup-rust
17+
18+ - name : Setup cache
19+ uses : Swatinem/rust-cache@v2
20+
1521 - name : Build
16- uses : ./.github/actions/build
22+ shell : bash
23+ id : build
24+ run : |
25+ cargo build --release --target aarch64-unknown-linux-gnu
1726
1827 - name : Create ssh key
1928 run : |
You can’t perform that action at this time.
0 commit comments