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

refact(build): refact macos_arm64 builder #36

Merged
merged 17 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/build_macos.yaml
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
20 changes: 20 additions & 0 deletions .github/workflows/build_wsl2.yaml
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
tmp/
output/*
tools/*
*.back
*.bak
8 changes: 4 additions & 4 deletions README.md
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
11 changes: 11 additions & 0 deletions docs/build_kernsl.md
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
```
10 changes: 0 additions & 10 deletions docs/help

This file was deleted.

1 change: 1 addition & 0 deletions docs/help
Loading