Dev/v0.6.8 #1257
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 2- Linux 构建测试 | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.1 | |
- name: Linux 构建测试 | |
run: | | |
sudo apt update -y | |
sudo apt install jq cloc protobuf-compiler \ | |
gcc-mingw-w64-x86-64 \ | |
gcc-arm-linux-gnueabi \ | |
gcc-mips-linux-gnu \ | |
gcc-mingw-w64 \ | |
gcc-aarch64-linux-gnu -y | |
mkdir ./component/rulex_api_server/server/www | |
echo "hello">./component/rulex_api_server/server/www/index.html | |
go get | |
go get -t github.com/hootrhino/rulex/test | |
git clone https://github.com/hybridgroup/gocv.git | |
cd gocv | |
make install | |
cd ../ | |
go build |