dump1090/.gitea/workflows/build.yaml

25 lines
655 B
YAML
Raw Normal View History

2024-06-08 17:36:53 +08:00
name: 构建Dump1090
run-name: ${{ gitea.actor }} 构建项目 🚀
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 设置环境
run: |
sudo apt update
2024-06-08 17:40:38 +08:00
sudo apt -y install build-essential bc git cmake libusb-1.0-0-dev pkg-config librtlsdr-dev
2024-06-08 17:36:53 +08:00
- 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