File tree 4 files changed +53
-21
lines changed
4 files changed +53
-21
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ description : Builds the index
3
+
4
+ runs :
5
+ using : " composite"
6
+ steps :
7
+ - name : Install ARM cross-compilation tools
8
+ run : sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends g++-aarch64-linux-gnu
9
+
10
+ - name : Setup environment
11
+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
12
+
13
+ - name : Install rust
14
+ run : |
15
+ rustup toolchain install stable --profile minimal
16
+ rustup target add aarch64-unknown-linux-gnu
17
+
18
+ - name : Setup cache
19
+ uses : Swatinem/rust-cache@v2
20
+
21
+ - name : Build
22
+ id : build
23
+ run : |
24
+ cargo build --release --target aarch64-unknown-linux-gnu
Original file line number Diff line number Diff line change
1
+ name : Build Index
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' **'
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout repository
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Build
18
+ uses : ./.github/actions/build
19
+
20
+ - name : Upload artifact
21
+ uses : @actions/upload-artifact@v4
22
+ with :
23
+ name : geode-index
24
+ path : ./target/aarch64-unknown-linux-gnu/release/geode-index
Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
jobs :
9
- build :
9
+ build-api-docs :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
25
25
with :
26
26
path : swagger-ui
27
27
28
- deploy :
28
+ deploy-api-docs :
29
29
needs : build
30
30
permissions :
31
31
pages : write
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - name : Checkout code
13
- uses : actions/checkout@v2
14
-
15
- - name : Install stuff
16
- run : sudo apt-get update && sudo apt-get install --assume-yes --no-install-recommends g++-aarch64-linux-gnu
17
-
18
- - name : Setup env
19
- run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
20
-
21
- - name : Install rust
22
- run : |
23
- rustup toolchain install stable --profile minimal
24
- rustup target add aarch64-unknown-linux-gnu
25
-
26
- - name : Setup cache
27
- uses : Swatinem/rust-cache@v2
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v4
28
14
29
15
- name : Build
30
- id : build
31
- run : |
32
- cargo build --release --target aarch64-unknown-linux-gnu
16
+ uses : ./.github/actions/build
33
17
34
18
- name : Create ssh key
35
19
run : |
You can’t perform that action at this time.
0 commit comments