This commit is contained in:
parent
0c3bb23eb4
commit
f014f604ae
25
.gitea/workflows/build.yaml
Normal file
25
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: 构建Dump1090
|
||||||
|
run-name: ${{ gitea.actor }} 构建项目 🚀
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 设置环境
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt -y install build-essential bc git cmake libusb-1.0-0-dev pkg-config
|
||||||
|
- name: 拉取项目
|
||||||
|
run: |
|
||||||
|
git clone http://mc.null.red:3000/Backups/dump1090
|
||||||
|
- name: 构建项目
|
||||||
|
run: |
|
||||||
|
cd dump1090
|
||||||
|
make -j8
|
||||||
|
ls -al
|
||||||
|
strip dump1090
|
||||||
|
- name: 🚀上传构建🚀
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: dump1090
|
||||||
|
path: dump1090/dump1090
|
Loading…
Reference in New Issue
Block a user