mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
35
third_party/dlpack/.github/workflows/main.yaml
vendored
Normal file
35
third_party/dlpack/.github/workflows/main.yaml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Python
|
||||
run: |
|
||||
python3 -m pip install cpplint
|
||||
- name: Setup@Ubuntu
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
sudo apt-get install -y doxygen wget graphviz unzip
|
||||
- name: Lint
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
./tests/scripts/task_lint.sh
|
||||
- name: Test
|
||||
run: |
|
||||
./tests/scripts/task_build.sh
|
||||
Reference in New Issue
Block a user