Merge pull request #1453 from hxy7yx/main-2

ci pyft
This commit is contained in:
fengzeroz
2023-08-15 15:16:45 +08:00
committed by GitHub
+35 -1
View File
@@ -104,4 +104,38 @@ jobs:
ft/reports/log.html
ft/reports/output.xml
ft/reports/report.html
build/neuron.log
build/neuron.log
pyft:
runs-on: ubuntu-20.04
container: ghcr.io/neugates/build:x86_64-main
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: compile
run: |
git config --global --add safe.directory $(pwd)
mkdir -p build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/x86_64-linux-gnu.cmake
make -j4
- name: fetch neu-ft
uses: actions/checkout@v2
with:
repository: neugates/neu-ft
path: neu-ft
- name: function test
run: |
pip install -U pytest
pip install requests
pytest -s neu-ft/neuron
- uses: actions/upload-artifact@v3
with:
name: pyft_result
path: |
neu-ft/neuron/report