File tree Expand file tree Collapse file tree 2 files changed +79
-2
lines changed
Expand file tree Collapse file tree 2 files changed +79
-2
lines changed Original file line number Diff line number Diff line change 1+ version : ' 1.0'
2+ name : ci-ubuntu
3+ displayName : ci-ubuntu
4+ triggers :
5+ trigger : auto
6+ pr :
7+ branches :
8+ precise :
9+ - main
10+ paths :
11+ precise :
12+ - .workflow/ci-ubuntu.yml
13+ - src/
14+ - tests/
15+ - TeXmacs/progs/
16+ - xmake/
17+ - xmake.lua
18+ push :
19+ branches :
20+ precise :
21+ - main
22+ paths :
23+ precise :
24+ - .workflow/ci-ubuntu.yml
25+ - src/
26+ - tests/
27+ - TeXmacs/progs/
28+ - xmake/
29+ - xmake.lua
30+
31+ variables :
32+ XMAKE_MAIN_REPO : ' https://gitee.com/tboox/xmake-repo.git'
33+ XMAKE_BINARY_REPO : ' https://gitee.com/xmake-mirror/build-artifacts.git'
34+ XMAKE_ROOT : y
35+ QT_QPA_PLATFORM : offscreen
36+
37+
38+ stages :
39+ - name : build_and_test
40+ displayName : build_and_test
41+ strategy : fast
42+ trigger : auto
43+ executor : []
44+ steps :
45+ - step : build@ruby
46+ name : build_ruby
47+ displayName : build and test liii
48+ rubyVersion : 3.0.2
49+ commands :
50+ - wget https://gitee.com/XmacsLabs/mogan/attach_files/1813514/download -O /tmp/xmake.deb
51+ - sha1sum /tmp/xmake.deb | grep ac3629bd0fa66f179aef35dc00b7a1c89735651a
52+ - apt install /tmp/xmake.deb
53+ - apt-get update
54+ - apt-get install -y libcurl4-openssl-dev pkg-config qtbase5-dev libqt5svg5-dev libjpeg-turbo8-dev libpng-dev libgit2-dev
55+ - xmake repo -u
56+ - xmake config -vD --yes
57+ - xmake build -vD liii
58+ - xmake build -vD --group=tests
59+ - bash bin/test_all
60+ - bash bin/test_all_integrated
61+ - bash bin/test_all_scheme
62+ caches : [
63+ build/.build_cache,
64+ build/.packages,
65+ /root/.xmake/packages
66+ ]
67+ notify : []
68+ strategy :
69+ retry : ' 0'
70+ stepTimeout : 30
Original file line number Diff line number Diff line change 1- # 200_2
1+ # 200_2 迁移测试到mogan仓库
22## 2025/06/30
33### What
44恢复C++测试和Scheme测试的执行
1515| ./bin/test_all_scheme| bash bin/test_all_scheme| 执行所有Scheme测试|
1616| ./bin/test_all_integrated| bash bin/test_all_integrated| 执行所有集成测试|
1717| ./bin/test_only [ target-name] | bash bin/test_only [ target-name] | 只执行某一个单元测试|
18- | xmake show -l targets| -| 列出所有target,其中以_test结尾的是C++的单元测试,形如[ 0_9] * _ [ 0_9] * 的是集成测试|
18+ | xmake show -l targets| -| 列出所有target,其中以_test结尾的是C++的单元测试,形如[ 0_9] * _ [ 0_9] * 的是集成测试|
19+
20+ ## 2025/06/30 在ci-ubuntu中添加运行测试的语句
21+ ### What
22+ 在ci-ubuntu中新增构建测试和运行测试的语句
23+
24+ ### Why
25+ 前一个PR已经将测试迁移过来,现在将测试加入ci流程中
You can’t perform that action at this time.
0 commit comments