-
Notifications
You must be signed in to change notification settings - Fork 17
35 lines (29 loc) · 896 Bytes
/
linux-native-build.yml
File metadata and controls
35 lines (29 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Linux Native Build
on:
workflow_dispatch:
workflow_call:
jobs:
linux-native-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout whisper.cpp
uses: actions/checkout@v4
with:
repository: ggerganov/whisper.cpp
ref: v1.7.2
path: whisper.cpp
- name: Install cross-compilation toolchains
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
- name: Build Linux Native Libraries
run: make linux
- name: Upload Linux Build Artifacts
uses: actions/upload-artifact@v4
with:
name: linux-build
path: runtimes/linux-*/*
retention-days: 7