Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an independent eventfd crate without depending other modules #150

Closed
wants to merge 436 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
436 commits
Select commit Hold shift + click to select a range
626d364
feat: 新增了gcc功能
Azure-stars Aug 3, 2023
b49f991
feat: 启动了redis服务器端
Azure-stars Aug 4, 2023
fa9719c
feat: 实现了将测例加载到内存中
Azure-stars Aug 4, 2023
d02ced2
fix: return EISCONN in connect() syscall
c0per Aug 5, 2023
46ab41d
feat: handle flags in accept4() syscall
c0per Aug 6, 2023
e34039d
feat: handle EAGAIN in accept() syscall
c0per Aug 6, 2023
8c7d6c3
feat: add redis-benchmark (libc malloc) testcase
c0per Aug 6, 2023
794f72e
feat: 修改了生成镜像大小
Azure-stars Aug 14, 2023
5c18954
feat: 添加了一句调试输出
Azure-stars Aug 14, 2023
89267a3
feat: 清空了percpu的stack,参考https://github.com/elliott10/arceos/commit/3e…
Azure-stars Aug 14, 2023
eede472
Merge branch 'dev' into doc
Azure-stars Aug 14, 2023
8711890
run busybox sh
elliott10 Aug 14, 2023
a07fe63
To support fu740
elliott10 Aug 14, 2023
c3effa6
feat: 添加了说明文档
Azure-stars Aug 14, 2023
7c9a96a
feat: 添加了上板说明
Azure-stars Aug 15, 2023
a7313e8
Update build-fu740.sh
elliott10 Aug 15, 2023
7f2a9d2
feat: 实现了fu740上板流程
Azure-stars Aug 15, 2023
7b522ba
Merge pull request #18 from elliott10/starry
Azure-stars Aug 15, 2023
f4e9173
Revert "To support sifive fu740 board"
Azure-stars Aug 15, 2023
bbe0fef
Merge pull request #19 from Azure-stars/revert-18-starry
Azure-stars Aug 15, 2023
18ca7d6
Merge branch 'fix/memory' into dev
Azure-stars Aug 15, 2023
372d8dc
feat: 修改了feature名称,防止出现冲突,当前feature img为true代表qemu运行,需要手动将镜像放到指定内存上
Azure-stars Aug 15, 2023
7614b36
Merge branch 'fix/memory' into dev
Azure-stars Aug 15, 2023
a23eb15
Merge branch 'dev' into doc
Azure-stars Aug 15, 2023
cc70594
feat: 添加了文档说明部分的process,task,runtime,starry
Azure-stars Aug 16, 2023
efa0597
doc:fs update
chunchunyd Aug 18, 2023
978c196
feat: 跑通了qemu测例
Azure-stars Aug 18, 2023
26d66e4
fMerge branch 'feat/redis' into dev
Azure-stars Aug 19, 2023
e12ec0f
feat: 上板通过
Azure-stars Aug 20, 2023
dd2cf3a
problem2_v0
chunchunyd Aug 20, 2023
448913c
feat: syscall renameat2()
c0per Aug 20, 2023
9ce1eb9
feat: /proc/interrupts
c0per Aug 20, 2023
65c9066
problem2_v1
chunchunyd Aug 20, 2023
ab5b682
fix: /proc dev fs
c0per Aug 20, 2023
1af3406
feat: 添加了文件镜像
Azure-stars Aug 20, 2023
2a25b80
Merge branch 'feat/interrupts' into fix/memory
Azure-stars Aug 20, 2023
e402d1d
Merge branch 'fix/memory' into problem2
Azure-stars Aug 20, 2023
f243013
feat: syscall shmget()
c0per Aug 1, 2023
d25afed
feat: syscall shmat()
c0per Aug 1, 2023
b85b8b3
feat: enable syscall pwrite64()
c0per Aug 20, 2023
cfcffeb
feat: 通过了copy测例
Azure-stars Aug 20, 2023
e2359fe
fix: MemorySet::find_free_area()
c0per Aug 20, 2023
4657b1c
fix: deadlock in pwrite64()
c0per Aug 20, 2023
93a39ba
feat: add iozone testcases to BUSYBOX_TESTCASES
c0per Aug 20, 2023
a867bec
Merge branch 'fix/memory' into feat/iozone
c0per Aug 20, 2023
352d68c
feat: 改变测例测试顺序
Azure-stars Aug 20, 2023
80d0762
Merge branch 'feat/iozone' into fix/memory
Azure-stars Aug 20, 2023
e1f5458
doc: 稍微修改了fs部分的结构
Azure-stars Aug 20, 2023
ddff94f
Merge pull request #22 from Azure-stars/fix/memory
c0per Aug 20, 2023
a047922
doc: axmem, axnet
c0per Aug 20, 2023
122e960
mkdocs
chunchunyd Aug 20, 2023
6c81c46
mkdocs
chunchunyd Aug 20, 2023
d2373cf
doc: 补充了决赛部分的文档
Azure-stars Aug 20, 2023
023d8dc
feat: 添加了readme
Azure-stars Aug 20, 2023
7aca2ea
doc: 修改了在线静态网页的内容
Azure-stars Aug 21, 2023
ec77c6e
Merge branch 'doc' into dev
Azure-stars Aug 29, 2023
42fad30
feat: 合并dev分支到update分支,准备合并
Azure-stars Aug 30, 2023
7790d4f
删除外部依赖
Azure-stars Aug 31, 2023
a51f8f3
fix: 以arceos最新内容作为伊始,准备重构
Azure-stars Aug 31, 2023
11eee14
feat: 搭建了基本框架
Azure-stars Sep 1, 2023
eb96ff1
faet: 添加了比赛测例
Azure-stars Sep 1, 2023
f7350b8
fix: 去除了外部依赖,精简了内核组成
Azure-stars Sep 2, 2023
b6181f9
feat: 实现了cyslictest测例
Azure-stars Sep 3, 2023
9757150
feat: 添加了批量读取测例操作,但是存在bug
Azure-stars Sep 3, 2023
0b58183
bug: 修改了加载测例的bug
Azure-stars Sep 3, 2023
a1184e1
feat: 当前实现了用户态和内核态的切换
Azure-stars Sep 4, 2023
e072b17
feat: 通过了busybox的测例
Azure-stars Sep 7, 2023
73e804c
feat: 通过了interrupts测例
Azure-stars Sep 7, 2023
e53392c
feat: 通过了除去socket方面的其他所有测例,socket的recv from仍然有bug存在
Azure-stars Sep 9, 2023
a3cab27
Merge remote-tracking branch 'upstream/main' into update
Azure-stars Sep 9, 2023
84b457e
Merge branch 'update' into dev
Azure-stars Sep 9, 2023
5498db8
Merge branch 'dev' into main
Azure-stars Sep 13, 2023
941536f
doc: 完善了readme 和 gcc测例执行文档说明
Azure-stars Sep 13, 2023
7de418e
feat: 添加了IP协议,通过了libc的socket测例
Azure-stars Sep 16, 2023
58832d1
fix: 修改了smoltcp源,通过了iperf
Azure-stars Sep 16, 2023
62f55df
fix: 修改了运行测例
Azure-stars Sep 16, 2023
33657d6
Merge pull request #24 from Azure-stars/dev
Azure-stars Sep 16, 2023
28688a5
doc: 添加了repo和静态网页部署文档
Azure-stars Sep 21, 2023
a057f86
fix: 让 Starry 通过了原有 ArceOS 的测例内容
Azure-stars Sep 24, 2023
2b4b40d
fix: 通过了原有 ArceOS 的所有测例
Azure-stars Sep 24, 2023
cca1794
add axbacktrace
Sep 26, 2023
ffd4505
add alter_trap, avoid unexpected recursive backtrace/panic
Sep 26, 2023
2752dea
add more doc; close backtrace by default
Sep 26, 2023
489b17d
remove unused code
Sep 26, 2023
72219fe
more explicit checkpoint; more doc&test; fix align of alter_trap
Sep 27, 2023
098e199
Merge pull request #26 from scPointer/feat/module
Azure-stars Sep 28, 2023
d5a7db9
feat: 添加了编译参数,使得可以通过简单修改编译参数 STRUCT 使得快速选择是通过 Unikernel 启动 还是 宏内核启动
Azure-stars Oct 7, 2023
17fbb78
doc: add the week 2 3 report
Azure-stars Oct 7, 2023
3b7b79e
feat: 添加了task spawn 测例内容
Azure-stars Oct 9, 2023
cd97d12
feat: 添加了 mem task 测例
Azure-stars Oct 10, 2023
96a4cc9
Merge pull request #29 from Azure-stars/feat/module
Azure-stars Oct 10, 2023
d14f7b5
fix #28: 线程退出时 主线程卡死问题
Azure-stars Oct 11, 2023
ff42c2a
Merge pull request #31 from Azure-stars/fix/futex
Azure-stars Oct 11, 2023
1acca0e
feat: add week 4 repo
Azure-stars Oct 11, 2023
64d635b
feat: 添加了中期报告
Azure-stars Oct 11, 2023
37a29fb
fix: 修改了中期报告中链接的地址
Azure-stars Oct 11, 2023
c7efcc6
feat: 添加了中期报告
Azure-stars Oct 21, 2023
aaf6324
feat: 添加了中期总结 PPT
Azure-stars Oct 21, 2023
3d56bfd
fix: 添加了中期报告的后期规划
Azure-stars Oct 22, 2023
83610a3
doc: 添加了week6的讨论情况
Azure-stars Nov 1, 2023
cd84cc6
feat: 拆分syscall的axnet模块到modules/axsyscall/syscall_axnet
Azure-stars Nov 1, 2023
3639623
doc: 记录分离 net 模块过程
Azure-stars Nov 1, 2023
4ffd115
feat: 添加了 mem 模块
Azure-stars Nov 2, 2023
993e714
feat: 拆分了fs模块
Azure-stars Nov 2, 2023
5d926c0
feat: 适配了 C 语言启动选项
Azure-stars Nov 5, 2023
3f66029
feat: 划分了 task 模块
Azure-stars Nov 6, 2023
0f46cc9
fixed #32 Returns all the characters in the pipeline, whether or not …
Azure-stars Nov 6, 2023
467c73f
Merge pull request #33 from Azure-stars/feat/module
Azure-stars Nov 6, 2023
ff99530
feat: 将feature转移到oscomp下的txt文件中,方便生成
Azure-stars Nov 12, 2023
f70ce39
feat: 完成了自动构建脚本
Azure-stars Nov 12, 2023
e43fb29
feat: 添加了期末报告
Azure-stars Nov 19, 2023
fcf0242
Merge branch 'main' of github.com:rcore-os/arceos into feat/module
Azure-stars Nov 19, 2023
9337389
doc: 添加了期末报告
Azure-stars Nov 29, 2023
9ed5746
fix: 修改了报告内容
Azure-stars Nov 29, 2023
ad1d078
fix: 完善了feature 判断信息
Azure-stars Dec 3, 2023
29061ee
Merge pull request #35 from Azure-stars/feat/module
Azure-stars Dec 3, 2023
81c59e4
Merge remote-tracking branch 'upstream/main' into dev
Azure-stars Dec 23, 2023
42cc277
Merge branch 'dev' into main
Azure-stars Dec 23, 2023
65a4895
feat: pass the arceos initial ci-cd
Azure-stars Jan 1, 2024
766de02
feat: separate the ci struct into unikernel and monolithic
Azure-stars Jan 1, 2024
a560a3d
support x86_64
yfblock Jan 24, 2024
e565c46
add scripts for build x86
Jan 24, 2024
686ef2e
add basic libs & update scripts
Jan 26, 2024
2711a4b
add basic support for rseq and fstatat of STDOUT
Jan 26, 2024
c747411
feat: add the initial support for ZLM_X86_64
Azure-stars Jan 27, 2024
681510e
Add VFORK support
Jan 28, 2024
d4e1d65
zlm_1_8
Shl1015CS Jan 28, 2024
0c82145
add doc for 1_5; recover SDCARD_TESTCASES; reviewed
Jan 28, 2024
b912295
Merge pull request #3 from Arceos-monolithic/zlm_1_5
scPointer Jan 28, 2024
55307e5
zlm_1_8
Shl1015CS Jan 28, 2024
0de08ef
zlm_1_8
Shl1015CS Jan 28, 2024
d9e06e3
zlm_1_8
Shl1015CS Jan 28, 2024
c2ed931
zlm_1_8
Shl1015CS Jan 28, 2024
4fbf2d6
copy names on exec; remove 1.log
Jan 28, 2024
b7faf6f
add safety checks; copy with size up to 16B; fix type of arg2
Jan 28, 2024
a141ad0
use numeric_enum; eliminate warnings
Jan 28, 2024
e921cec
add questions
Jan 28, 2024
cf7a88d
merge x86_64
Jan 28, 2024
a7aa4ec
Merge branch 'x86_64' into zlm_1_8
scPointer Jan 28, 2024
dd3913e
Merge pull request #4 from Arceos-monolithic/zlm_1_8
scPointer Jan 28, 2024
436ea23
complete arch_prctl and pass the test case
werkeytom Jan 29, 2024
9b9ec8e
modulex/axhal: Unified console initialization interface nameing
guoweikang Jan 29, 2024
ab86f43
modulex/axhal: Unified time initialization interface nameing
guoweikang Jan 29, 2024
0d62183
modulex/axhal: move aarch64 platform console mod to common
guoweikang Jan 29, 2024
26246ea
modulex/axhal: move aarch64 platform irq,time mod to common
guoweikang Jan 29, 2024
a9f0257
modulex/axhal:Remove redundant code from different aarch64 platforms
guoweikang Jan 29, 2024
93c9d1f
gitignore: ignore bst image
guoweikang Jan 29, 2024
bc418d4
feat: finish the loading of the ZLM
Azure-stars Jan 29, 2024
1954edf
Merge branch 'x86_64' into x86_ZLMediaKit
Azure-stars Jan 29, 2024
f3cee97
Merge pull request #6 from guoweikang/guoweikang/aarch64_refactor
scPointer Jan 29, 2024
dfec5d2
rewrite testcase
Jan 29, 2024
f064f28
merge zlm_1_7
Jan 29, 2024
b3822a6
remove logs; ignore .idea/
Jan 29, 2024
10ea595
crates/of: Init arceos of crates to support parsing Flattened Devicet…
guoweikang Jan 29, 2024
de53d03
modules/axhal: Refactor aarch64 mem module
guoweikang Jan 29, 2024
59ab2be
Qemu: Fix aarch64 qemu mem param
guoweikang Jan 30, 2024
3fcc5bf
axhal/platform: Add platform_name interface
guoweikang Jan 30, 2024
23eafae
axhal/platform/aarch64: Read CPU id from fdt
guoweikang Jan 30, 2024
c64b61a
Merge pull request #1 from guoweikang/guoweikang/fdt_support
elliott10 Jan 31, 2024
ccf02ec
Supported ext4 file system for starry
elliott10 Feb 5, 2024
0553015
Adjusted the level of log output
elliott10 Feb 5, 2024
7015ef6
clean warnings for fs code
elliott10 Feb 5, 2024
6320d8b
Revert "Adjusted the level of log output"
elliott10 Feb 6, 2024
fedd213
Can choose whether to use fatfs or ext4fs when compiling
elliott10 Feb 6, 2024
3b805e8
Merge pull request #8 from elliott10/ext4-starry-x86_64
scPointer Feb 6, 2024
38209c7
Make the axlibc dependency of ext4fs optional
elliott10 Feb 16, 2024
4c5285c
Merge pull request #9 from elliott10/ext4-starry-x86_64
scPointer Feb 16, 2024
d59929c
fix: fix the path parse bug
Azure-stars Feb 19, 2024
1f63059
Merge pull request #37 from Arceos-monolithic/x86_ZLMediaKit
Azure-stars Feb 19, 2024
64ea193
feat: add the elf parser module
Azure-stars Feb 19, 2024
79368ff
refactor: move the 'first_into_user' to the axhal level
Azure-stars Feb 26, 2024
13dc197
irq: handle_irq add from_user param
guoweikang Feb 23, 2024
431504c
mmu/flush_tlb: Source shouldn't directly use sfence_vma
guoweikang Feb 23, 2024
f75fa18
assembly: Move assembly source to axhal
guoweikang Feb 23, 2024
fdaf6e9
trapframe: modify axprocess change trapframe through axhal interface
guoweikang Feb 23, 2024
cec6037
syscall: syscall log support output syscall_name
guoweikang Feb 23, 2024
15408e8
syscall_task: add empty set/getpgid interface
guoweikang Feb 23, 2024
0d9f815
Merge pull request #10 from guoweikang/guoweikang/aarch64_1
elliott10 Feb 26, 2024
c77fd8a
axhal: aarch64 support el0
guoweikang Feb 23, 2024
fbc1a97
add aarch64 testsuitecase
guoweikang Feb 23, 2024
699dbca
remove unused futex test
werkeytom Jan 29, 2024
b80b79d
Merge branch 'x86_ZLMediaKit' into zlm_1_2
scPointer Feb 27, 2024
9ab4610
Merge pull request #17 from Arceos-monolithic/zlm_1_2
scPointer Feb 27, 2024
a88a418
fix some error on riscv
yfblock Feb 27, 2024
b423f84
page_talbe: Fix mprotect manual page lazy alloc failed
guoweikang Feb 27, 2024
977fd1b
pipe: exist mem overflow
guoweikang Feb 27, 2024
033d0cc
feat: add the relocate and segment function in the elf module
Azure-stars Feb 27, 2024
4254d8a
axsignal: add aarch64 ucontext layout
guoweikang Feb 28, 2024
8423dce
img_feature: aarch64 not support img feature
guoweikang Feb 28, 2024
ed090c5
zlm_1_6
YanLien Jan 28, 2024
ad8df99
Merge branch 'x86_ZLMediaKit' into zlm_1_6
scPointer Feb 29, 2024
6fea32e
Merge pull request #20 from Arceos-monolithic/zlm_1_6
scPointer Feb 29, 2024
e7b639c
test: starry test init_fs support aarch64
guoweikang Feb 29, 2024
d5a042d
elf: elf support aarch64 dynamic map
guoweikang Feb 29, 2024
9f12374
update docs
Feb 29, 2024
7efdb17
syscall: add renameat for aarch64
guoweikang Mar 1, 2024
c554bf8
compiler_warinig: fix compile warning unused
guoweikang Mar 1, 2024
6a29774
elf: static link binary may have .rela.plt but not have dynsym
guoweikang Mar 1, 2024
ce30205
aarch64: support more pagefault type
guoweikang Mar 1, 2024
3173a09
fix: move the change in the os2edu project2 into the main repository
Azure-stars Mar 1, 2024
c8f3cb0
feat: add the user boot to init the user process
Azure-stars Mar 1, 2024
60cde17
bug: fix parts of the clippy suggestions
Azure-stars Mar 2, 2024
abfc1f2
feat: pass the clippy test for the x86_64 and riscv64
Azure-stars Mar 2, 2024
926cd99
add clone3; particially recover cyclictest
Mar 3, 2024
928e37b
remove comments
Mar 3, 2024
945c8fd
feat: add the signal trampoline at 0x400_0000 virt_addr to do the sig…
Azure-stars Mar 3, 2024
edb7f3b
bug: fix the bug of the lat_sig-prot testcase in the x86_64 arch
Azure-stars Mar 3, 2024
abe9487
bug: fix the busybox du bug
Azure-stars Mar 3, 2024
bec073a
resolve errors while compiling on riscv
Mar 4, 2024
7579496
aarch64: support handle_signal after handle_irq
guoweikang Mar 4, 2024
9c7ea00
img: aarch64 qemu support img feautre
guoweikang Mar 4, 2024
6df134b
feat: add the support for the TLS_DTPREL32 in riscv
Azure-stars Mar 4, 2024
4f17aa0
Merge branch 'main' of github.com:Azure-stars/Starry into x86_ZLMediaKit
Azure-stars Mar 4, 2024
38328c0
style: pass the clippy test for x86 and riscv
Azure-stars Mar 4, 2024
3c373c2
Merge pull request #7 from guoweikang/guoweikang/aarch64
elliott10 Mar 4, 2024
c59a886
test for the ci
Azure-stars Mar 4, 2024
555a48c
Merge branch 'x86_ZLMediaKit' into x86_64
Azure-stars Mar 4, 2024
25bfd85
Merge main branch into x86_64 branch and adapt to the arm
Azure-stars Mar 8, 2024
264bb29
fix: add musl path for the ext4 in clippy ci
Azure-stars Mar 8, 2024
1cbae68
feat: add the c toolchain
Azure-stars Mar 8, 2024
c83a83c
feat: pass the unitest
Azure-stars Mar 8, 2024
05486ee
fix: pass the uni test
Azure-stars Mar 8, 2024
d462556
Update lwext4_rust version
elliott10 Mar 10, 2024
1c22b01
cargo fmt --all
elliott10 Mar 10, 2024
9767114
Merge branch 'main' into fix_x86_64_ci
Azure-stars Mar 11, 2024
b045093
fix: fix the doc missing in of crate
Azure-stars Mar 11, 2024
857267d
feat: pass the doc test
Azure-stars Mar 11, 2024
6f98172
fix: add the musl support for build doc
Azure-stars Mar 11, 2024
14f9c3b
Merge pull request #24 from Arceos-monolithic/fix_x86_64_ci
elliott10 Mar 13, 2024
88a4e0b
aarch64/mem: consider the memory is less than one page
guoweikang Mar 18, 2024
e4bb802
fix critical bug in crates/elf_parser: user stack now aligned to 16 B…
Mar 19, 2024
9e7df3e
add link for command: sh and which, in path /bin/; fix: now mprotect …
Mar 19, 2024
e8beca2
remove panic when page fault
Mar 19, 2024
ef68b1b
fix clippy
Mar 19, 2024
e2a28f6
1、镜像制作脚本增加 MacOS 系统支持;2、简化脚本参数逻辑并兼容旧版本参数
Mar 23, 2024
72a5a4c
解决在 MacOS 系统下编译 redis 错误,原因如下:
Mar 23, 2024
e85130d
修复 Github CI 默认使用 dash 不兼容问题
Mar 25, 2024
30b91ab
rk3588j: arceos support rk3588j
guoweikang Mar 27, 2024
5fb1dc1
arm-gic: support arm-gicv3
guoweikang Mar 27, 2024
978035e
clippy: fix clippy warning
guoweikang Mar 27, 2024
0263606
fmt: fix cargo fmt
guoweikang Mar 27, 2024
e797557
arm_gic: remove unused features
guoweikang Mar 28, 2024
51b0b16
Merge pull request #25 from joans321/main
elliott10 Apr 3, 2024
af68a0d
Merge pull request #26 from guoweikang/guoweikang/rk3588
elliott10 Apr 3, 2024
8c9f83f
implement syscall eventfd
binary-bruce Apr 11, 2024
f293b69
add evenfd syscall id for x86_64
binary-bruce Apr 11, 2024
ffaf706
support x86_64 for eventfd syscall
binary-bruce Apr 13, 2024
f1d55a1
create a independent eventfd crate without depending other modules
binary-bruce Apr 27, 2024
e27873c
reorder
binary-bruce Apr 27, 2024
2f9560c
fix lint and add doc
binary-bruce May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 34 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,22 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Setup C++ environment
run: sudo apt-get update && sudo apt-get install -y build-essential
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
components: rust-src, clippy, rustfmt
- uses: ./.github/workflows/actions/setup-musl
with:
arch: x86_64
- uses: ./.github/workflows/actions/setup-musl
with:
arch: riscv64
- uses: ./.github/workflows/actions/setup-musl
with:
arch: aarch64
- name: Clippy for the default target
run: make clippy
- name: Clippy for x86_64
Expand All @@ -28,7 +39,7 @@ jobs:
- name: Check code format
run: cargo fmt --all -- --check

build:
build-apps-for-unikernel:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -174,3 +185,25 @@ jobs:
run: cargo build -p arceos-httpserver
- name: Build net/udpserver
run: cargo build -p arceos-udpserver

build-apps-for-monolithic:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
arch: [x86_64, riscv64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
components: rust-src
- uses: actions-rs/[email protected]
with:
crate: cargo-binutils
version: latest
use-tool-cache: true
- name: Bulld monolithic-userboot
run: ./build_img.sh ${{ matrix.arch }} & make ARCH=${{ matrix.arch }} A=apps/monolithic_userboot
9 changes: 9 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ jobs:
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
- uses: ./.github/workflows/actions/setup-musl
with:
arch: x86_64
- uses: ./.github/workflows/actions/setup-musl
with:
arch: riscv64
- uses: ./.github/workflows/actions/setup-musl
with:
arch: aarch64
- name: Build docs
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
run: make doc_check_missing
Expand Down
32 changes: 31 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Run unit tests
run: make unittest_no_fail_fast

app-test:
app-test-for-unikernel:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -48,3 +48,33 @@ jobs:
run: |
make disk_img
make test ARCH=${{ matrix.arch }}

app-test-for-monolithic:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
arch: [x86_64, riscv64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
components: rust-src
- uses: actions-rs/[email protected]
with:
crate: cargo-binutils
version: latest
use-tool-cache: true
- uses: ./.github/workflows/actions/setup-qemu
with:
qemu-version: ${{ env.qemu-version }}
- uses: ./.github/workflows/actions/setup-musl
with:
arch: ${{ matrix.arch }}
- name: Run app tests
run: |
make disk_img
make test_monolithic ARCH=${{ matrix.arch }}
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
actual.out
qemu.log
rusty-tags.vi
/testcases/riscv64-linux-musl-native.tgz
/testcases/gcc/riscv64-linux-musl-native
testsuits-x86_64-linux-musl.tgz
.idea/
arceos-fada.bin.gz
arceos-fada.itb
.tmp_its
!tools/rk3588/ramdisk.img
Loading