Skip to content

cuda dtype transfer #62

cuda dtype transfer

cuda dtype transfer #62

Workflow file for this run

name: Tool/deepxctl Build
on: [push, pull_request]

Check failure on line 2 in .github/workflows/tool-deepxctl.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tool-deepxctl.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
push:
paths:
- 'tool/deepxctl/**'
pull_request:
paths:
- 'tool/deepxctl/**'
jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04] # 只保留 Ubuntu
go-version: [1.23.2]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# 系统依赖安装
- name: 安装Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: true
# 系统依赖安装
- name: 安装依赖 (Ubuntu)
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install -y git
# 构建deepxctl工具
- name: 构建deepxctl
run: |
cd tool/deepxctl
go build -v -o deepxctl
# 运行测试
- name: 运行测试
run: |
cd tool/deepxctl
./deepxctl