a
This commit is contained in:
parent
17a723a904
commit
a3b84dcc57
1 changed files with 1 additions and 42 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Rust Build
|
name: Rust checks
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -34,44 +34,3 @@ jobs:
|
||||||
|
|
||||||
- name: Build Rust project for x86_64
|
- name: Build Rust project for x86_64
|
||||||
run: cargo build --release --target x86_64-unknown-linux-gnu
|
run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
- name: Archive production artifacts for x86_64
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Linux_x86_64
|
|
||||||
path: target/x86_64-unknown-linux-gnu/release/ew
|
|
||||||
|
|
||||||
build-aarch64:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest]
|
|
||||||
arch: [aarch64]
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '18'
|
|
||||||
|
|
||||||
- name: Install dependencies and build webui
|
|
||||||
run: |
|
|
||||||
cd webui
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Set up Rust
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Build Rust project for aarch64
|
|
||||||
run: cargo build --release
|
|
||||||
|
|
||||||
- name: Archive production artifacts for aarch64
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Linux_aarch64
|
|
||||||
path: target/release/ew
|
|
||||||
|
|
Loading…
Reference in a new issue