forked from acidanthera/OpenCorePkg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
85 additions
and
65 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 |
---|---|---|
|
@@ -35,39 +35,38 @@ jobs: | |
HOMEBREW_NO_INSTALL_CLEANUP: 1 | ||
HOMEBREW_NO_AUTO_UPDATE: 1 | ||
|
||
- name: 安装构建环境 | ||
- name: install tools | ||
run: brew install openssl mingw-w64 | ||
|
||
- name: CI引导 | ||
- name: ci-bootstrap | ||
run: | | ||
src=$(/usr/bin/curl -LfsS https://raw.githubusercontent.com/wy414012/ocbuild/Yaming/ci-bootstrap.sh) && eval "$src" || exit 1 | ||
- run: ./build_duet.tool | ||
- run: ./build_oc.tool | ||
|
||
|
||
- name: 配置安全密钥 | ||
- name: set key | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GIT_PRIVATE_KEY }} | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
echo "StrictHostKeyChecking no" >> ~/.ssh/config | ||
- name: 检查URL并且传输到服务器 | ||
- name: push web server | ||
env: | ||
SECRET_CHECK_SCRIPT_URL: ${{ secrets.SECRET_CHECK_SCRIPT_URL }} | ||
run: scp -r ./Binaries/*.zip ${SECRET_CHECK_SCRIPT_URL}OC/macos_build/ | ||
- name: 上传工件 | ||
|
||
- name: upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: macOS XCODE5 Artifacts | ||
path: Binaries/*.zip | ||
- name: 上传发布 | ||
|
||
- name: push release | ||
if: github.event_name == 'release' | ||
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2.9.0 | ||
with: | ||
|
@@ -78,12 +77,16 @@ jobs: | |
|
||
build-linux-clangpdb: | ||
name: Linux CLANGPDB | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
env: | ||
TOOLCHAINS: CLANGPDB | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Apply Docker AppArmor settings | ||
run: | | ||
src=$(/usr/bin/curl -LfsS https://raw.githubusercontent.com/acidanthera/ocbuild/master/docker-apparmor.sh) && eval "$src" || exit 1 | ||
- name: Use Docker in rootless mode. | ||
uses: ScribeMD/[email protected] | ||
|
||
|
@@ -93,20 +96,20 @@ jobs: | |
- name: ./build_oc.tool | ||
run: docker compose run build-oc | ||
|
||
- name: 配置安全密钥 | ||
- name: set keys | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GIT_PRIVATE_KEY }} | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
echo "StrictHostKeyChecking no" >> ~/.ssh/config | ||
- name: 检查URL并且传输到服务器 | ||
- name: push web-server | ||
env: | ||
SECRET_CHECK_SCRIPT_URL: ${{ secrets.SECRET_CHECK_SCRIPT_URL }} | ||
run: scp -r ./Binaries/*.zip ${SECRET_CHECK_SCRIPT_URL}OC/linux_build/CLANGPDB/ | ||
|
||
- name: Upload to Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -115,12 +118,16 @@ jobs: | |
|
||
build-linux-gcc5: | ||
name: Linux GCC | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
env: | ||
TOOLCHAINS: GCC | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Apply Docker AppArmor settings | ||
run: | | ||
src=$(/usr/bin/curl -LfsS https://raw.githubusercontent.com/acidanthera/ocbuild/master/docker-apparmor.sh) && eval "$src" || exit 1 | ||
- name: Use Docker in rootless mode. | ||
uses: ScribeMD/[email protected] | ||
|
||
|
@@ -129,21 +136,21 @@ jobs: | |
|
||
- name: ./build_oc.tool | ||
run: docker compose run build-oc | ||
- name: 配置安全密钥 | ||
|
||
- name: set keys | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GIT_PRIVATE_KEY }} | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
echo "StrictHostKeyChecking no" >> ~/.ssh/config | ||
- name: 检查URL并且传输到服务器 | ||
- name: push web-server | ||
env: | ||
SECRET_CHECK_SCRIPT_URL: ${{ secrets.SECRET_CHECK_SCRIPT_URL }} | ||
run: scp -r ./Binaries/*.zip ${SECRET_CHECK_SCRIPT_URL}OC/linux_build/GCC5/ | ||
|
||
- name: Upload to Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -152,12 +159,16 @@ jobs: | |
|
||
build-linux-clangdwarf: | ||
name: Linux CLANGDWARF | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
env: | ||
TOOLCHAINS: CLANGDWARF | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Apply Docker AppArmor settings | ||
run: | | ||
src=$(/usr/bin/curl -LfsS https://raw.githubusercontent.com/acidanthera/ocbuild/master/docker-apparmor.sh) && eval "$src" || exit 1 | ||
- name: Use Docker in rootless mode. | ||
uses: ScribeMD/[email protected] | ||
|
||
|
@@ -167,20 +178,20 @@ jobs: | |
- name: ./build_oc.tool | ||
run: docker compose run build-oc | ||
|
||
- name: 配置安全密钥 | ||
- name: set keys | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GIT_PRIVATE_KEY }} | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
echo "StrictHostKeyChecking no" >> ~/.ssh/config | ||
- name: 检查URL并且传输到服务器 | ||
- name: push web-server | ||
env: | ||
SECRET_CHECK_SCRIPT_URL: ${{ secrets.SECRET_CHECK_SCRIPT_URL }} | ||
run: scp -r ./Binaries/*.zip ${SECRET_CHECK_SCRIPT_URL}OC/linux_build/CLANGDWARF/ | ||
|
||
- name: 上传工件 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -189,10 +200,14 @@ jobs: | |
|
||
build-linux-docs: | ||
name: Linux Docs | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Apply Docker AppArmor settings | ||
run: | | ||
src=$(/usr/bin/curl -LfsS https://raw.githubusercontent.com/acidanthera/ocbuild/master/docker-apparmor.sh) && eval "$src" || exit 1 | ||
- name: Use Docker in rootless mode. | ||
uses: ScribeMD/[email protected] | ||
|
||
|
@@ -211,33 +226,33 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: 安装构建环境 | ||
- name: install tools | ||
run: | | ||
choco install make nasm zip iasl --no-progress | ||
- name: CI引导 | ||
- name: ci-bootstrap | ||
run: | | ||
src=$(curl -LfsS https://raw.githubusercontent.com/wy414012/ocbuild/Yaming/ci-bootstrap.sh) && eval "$src" || exit 1 | ||
- run: ./build_duet.tool | ||
- run: ./build_oc.tool | ||
- name: 配置安全密钥 | ||
|
||
- name: set keys | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.GIT_PRIVATE_KEY }} | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
echo "StrictHostKeyChecking no" >> ~/.ssh/config | ||
- name: 检查URL并且传输到服务器 | ||
- name: push web-server | ||
env: | ||
SECRET_CHECK_SCRIPT_URL: ${{ secrets.SECRET_CHECK_SCRIPT_URL }} | ||
run: scp -r ./Binaries/*.zip ${SECRET_CHECK_SCRIPT_URL}OC/windows_build/ | ||
- name: 上传工件 | ||
|
||
- name: upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Windows Artifacts | ||
|
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
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 +1 @@ | ||
803349296249f30c802a43fbe92926c6 | ||
fa42399c09fbdc260b41745484b4a752 |
Binary file not shown.
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
Binary file not shown.
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
Binary file not shown.
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
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
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