-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refact(build): refact macos_arm64 builder (#36)
- Loading branch information
Showing
16 changed files
with
331 additions
and
11,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build MacOS Profile | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'dev' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- 'dev' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
uses: 'actions/checkout@v4' | ||
|
||
- name: Build | ||
run: sudo -E ./make macos_arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build WSL2 Profile | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'dev' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- 'dev' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
uses: 'actions/checkout@v4' | ||
|
||
- name: Build | ||
run: sudo -E ./make wsl2_amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
tmp/ | ||
output/* | ||
tools/* | ||
*.back | ||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# `make` commands | ||
- `macos_arm64` : make ovm bootable image for macos arm64 | ||
- `wsl2_amd64` : make ovm wsl2 rootfs distribute | ||
- `wsl2_amd64` : make ovm wsl2 rootfs distribute | ||
|
||
|
||
|
||
# Development environment | ||
- SKIP_BUILD_PROOT=true: Skip build proot | ||
- SKIP_APT_GET_INSTALL: Skip apt update && apt install -y required package | ||
|
||
- `SKIP_BUILD_PROOT=true`: Skip build [proot](https://github.com/proot-me/proot) | ||
- `SKIP_APT_GET_INSTALL=true`: Skip `apt update && apt install -y required package` | ||
- `VM_PROVIDER=qemu`: using qemu as vm provider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Build kernel scripts | ||
|
||
## Usage | ||
```sh | ||
$ ./build_kernel.sh \ | ||
--kernel-version=<next|mainline|stable|longterm> \ | ||
--kernel-config=tmp/config \ | ||
--menuconfig \ | ||
--dts=rockchip/rk3399-eaidk-610.dts # or --dtb=/tmp/mydtb.dtb \ | ||
--output=/tmp/kernel_out | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |
Oops, something went wrong.