添加 .gitea/workflows/build.yaml
Some checks failed
构建Dump1090 / build (push) Failing after 3m8s

This commit is contained in:
forever 2024-06-08 17:36:53 +08:00
parent 0c3bb23eb4
commit f014f604ae

View 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