Compare commits
8 Commits
uazo-patch
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
813cea7bd5 | ||
|
0c4f152b89 | ||
|
2493688ed2 | ||
|
2e590285d4 | ||
|
248956d7ab | ||
|
7d8f0cc0d5 | ||
|
789763aa43 | ||
|
bfc4344c08 |
8
.github/workflows/build_bromite_dev.yaml
vendored
8
.github/workflows/build_bromite_dev.yaml
vendored
@ -158,7 +158,7 @@ jobs:
|
|||||||
runs-on: ${{ github.event.inputs.type }}
|
runs-on: ${{ github.event.inputs.type }}
|
||||||
needs: check_images
|
needs: check_images
|
||||||
if: success()
|
if: success()
|
||||||
timeout-minutes: 720
|
timeout-minutes: 1200
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: uazo/bromite-build:build
|
image: uazo/bromite-build:build
|
||||||
@ -306,7 +306,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Generate breakpad symbols arm64
|
- name: Generate breakpad symbols arm64
|
||||||
if: ${{ github.event.inputs.target_os == 'android' || github.event.inputs.target_os == 'all' }}
|
if: ${{ (github.event.inputs.target_os == 'android' || github.event.inputs.target_os == 'all') && (github.event.inputs.build == 'arm64' || github.event.inputs.build == 'all') }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
@ -323,7 +323,7 @@ jobs:
|
|||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
- name: Generate Supersize data
|
- name: Generate Supersize data
|
||||||
if: ${{ github.event.inputs.debug == 'false' && (github.event.inputs.target_os == 'android' || github.event.inputs.target_os == 'all') }}
|
if: ${{ github.event.inputs.debug == 'false' && (github.event.inputs.target_os == 'android' || github.event.inputs.target_os == 'all') && (github.event.inputs.build == 'arm64' || github.event.inputs.build == 'all') }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
@ -332,7 +332,7 @@ jobs:
|
|||||||
tools/binary_size/supersize archive out/bromite/chrome.size --apk-file out/bromite/apks/ChromePublic.apk -v
|
tools/binary_size/supersize archive out/bromite/chrome.size --apk-file out/bromite/apks/ChromePublic.apk -v
|
||||||
|
|
||||||
- name: Generate clangd index
|
- name: Generate clangd index
|
||||||
if: ${{ github.event.inputs.debug == 'true' && github.event.inputs.clangd == 'true' }}
|
if: ${{ github.event.inputs.clangd == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
PATH=$WORKSPACE/chromium/src/third_party/llvm-build/Release+Asserts/bin:$WORKSPACE/depot_tools/:/usr/local/go/bin:$WORKSPACE/mtool/bin:$PATH
|
||||||
|
30
.github/workflows/release.yaml
vendored
30
.github/workflows/release.yaml
vendored
@ -9,10 +9,6 @@ on:
|
|||||||
description: 'uazo/bromite SHA'
|
description: 'uazo/bromite SHA'
|
||||||
required: true
|
required: true
|
||||||
default: '0a8ff322d6e9d738f7b2fa52618b178081bd100d'
|
default: '0a8ff322d6e9d738f7b2fa52618b178081bd100d'
|
||||||
build:
|
|
||||||
description: 'arch [arm64/x64]'
|
|
||||||
required: true
|
|
||||||
default: 'arm64'
|
|
||||||
type:
|
type:
|
||||||
description: 'runner? [dev/ci]'
|
description: 'runner? [dev/ci]'
|
||||||
required: true
|
required: true
|
||||||
@ -22,14 +18,13 @@ env:
|
|||||||
BROMITE_SHA: ${{ github.event.inputs.sha }}
|
BROMITE_SHA: ${{ github.event.inputs.sha }}
|
||||||
REMOVEDOCKERSUPPORT: true
|
REMOVEDOCKERSUPPORT: true
|
||||||
USELOCALIMAGE: true
|
USELOCALIMAGE: true
|
||||||
GOMAJOBS: 60
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ${{ github.event.inputs.type }}
|
runs-on: ${{ github.event.inputs.type }}
|
||||||
env:
|
env:
|
||||||
OUTPUTFILE_ARM64: /storage/images/android/arm64/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
|
OUTPUTFILE_ARM64: /storage/images/android/${{ github.event.inputs.sha }}/false/arm64/
|
||||||
APK: ${{ github.event.inputs.build }}_ChromePublic.apk
|
OUTPUTFILE_X64: /storage/images/android/${{ github.event.inputs.sha }}/false/x64/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare container
|
- name: Prepare container
|
||||||
@ -54,7 +49,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
GH=gh_2.18.1_linux_amd64/bin/gh
|
GH=gh_2.18.1_linux_amd64/bin/gh
|
||||||
WINOUT=/storage/images/win/x64/$BROMITE_SHA/
|
WINOUT=/storage/images/win/x64/$BROMITE_SHA/
|
||||||
VERSION=v$(cat ${{ env.OUTPUTFILE_ARM64 }}/RELEASE)-${{ github.event.inputs.build }}
|
VERSION=v$(cat ${{ env.OUTPUTFILE_ARM64 }}/RELEASE)
|
||||||
|
|
||||||
cd bromite
|
cd bromite
|
||||||
|
|
||||||
@ -71,12 +66,17 @@ jobs:
|
|||||||
|
|
||||||
$GH release create $VERSION-$BROMITE_SHA --notes-file note -d
|
$GH release create $VERSION-$BROMITE_SHA --notes-file note -d
|
||||||
|
|
||||||
# android
|
# android arm64
|
||||||
sudo cp ${{ env.OUTPUTFILE_ARM64 }}/apks/ChromePublic.apk ChromePublic.apk
|
sudo cp ${{ env.OUTPUTFILE_ARM64 }}/apks/ChromePublic.apk arm64_ChromePublic.apk
|
||||||
sudo chown runner ChromePublic.apk
|
sudo chown runner arm64_ChromePublic.apk
|
||||||
mv ChromePublic.apk $APK
|
echo Uploading arm64_ChromePublic
|
||||||
echo Uploading $APK
|
$GH release upload $VERSION-$BROMITE_SHA arm64_ChromePublic.apk
|
||||||
$GH release upload $VERSION-$BROMITE_SHA $APK
|
|
||||||
|
# android x64
|
||||||
|
sudo cp ${{ env.OUTPUTFILE_X64 }}/apks/ChromePublic.apk x64_ChromePublic.apk
|
||||||
|
sudo chown runner x64_ChromePublic.apk
|
||||||
|
echo Uploading x64_ChromePublic
|
||||||
|
$GH release upload $VERSION-$BROMITE_SHA x64_ChromePublic.apk
|
||||||
|
|
||||||
echo Uploading chrome.size
|
echo Uploading chrome.size
|
||||||
test $VERSION-$BROMITE_SHA $OUTPUTFILE_ARM64/chrome.size && \
|
test $VERSION-$BROMITE_SHA $OUTPUTFILE_ARM64/chrome.size && \
|
||||||
@ -98,7 +98,7 @@ jobs:
|
|||||||
cp $WINOUT/chrome_proxy.exe chrome-win/
|
cp $WINOUT/chrome_proxy.exe chrome-win/
|
||||||
cp $WINOUT/chrome_pwa_launcher.exe chrome-win/
|
cp $WINOUT/chrome_pwa_launcher.exe chrome-win/
|
||||||
cp $WINOUT/chrome_wer.dll chrome-win/
|
cp $WINOUT/chrome_wer.dll chrome-win/
|
||||||
cp "/win_sdk/10.0.20348.0/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll" chrome-win/
|
cp "/win_sdk/10.0.22621.0/Windows Kits/10/Redist/D3D/x64/d3dcompiler_47.dll" chrome-win/
|
||||||
cp $WINOUT/elevation_service.exe chrome-win/
|
cp $WINOUT/elevation_service.exe chrome-win/
|
||||||
cp "$WINOUT/First Run" chrome-win/
|
cp "$WINOUT/First Run" chrome-win/
|
||||||
cp $WINOUT/headless_lib_data.pak chrome-win/
|
cp $WINOUT/headless_lib_data.pak chrome-win/
|
||||||
|
@ -109,10 +109,15 @@ RUN chmod +x ./patched/runsvc.sh /usr/local/bin/startup.sh
|
|||||||
|
|
||||||
USER runner
|
USER runner
|
||||||
|
|
||||||
ENV HTTP_PROXY="http://172.18.0.1:8118"
|
RUN wget https://github.com/docker/buildx/releases/download/v0.10.4/buildx-v0.10.4.linux-amd64 && \
|
||||||
ENV HTTPS_PROXY="http://172.18.0.1:8118"
|
mkdir -p /home/runner/.docker/cli-plugins && \
|
||||||
ENV http_proxy="http://172.18.0.1:8118"
|
mv buildx-v0.10.4.linux-amd64 /home/runner/.docker/cli-plugins/docker-buildx && \
|
||||||
ENV https_proxy="http://172.18.0.1:8118"
|
chmod +x /home/runner/.docker/cli-plugins/docker-buildx
|
||||||
|
|
||||||
|
ENV HTTP_PROXY="http://127.0.0.1:8118"
|
||||||
|
ENV HTTPS_PROXY="http://127.0.0.1:8118"
|
||||||
|
ENV http_proxy="http://127.0.0.1:8118"
|
||||||
|
ENV https_proxy="http://127.0.0.1:8118"
|
||||||
COPY docker.default /etc/default/docker
|
COPY docker.default /etc/default/docker
|
||||||
COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf
|
COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Acquire::http::Proxy "http://172.18.0.1:8118";
|
Acquire::http::Proxy "http://127.0.0.1:8118";
|
||||||
|
@ -40,7 +40,7 @@ do
|
|||||||
-v /casefold:/win_sdk \
|
-v /casefold:/win_sdk \
|
||||||
--network none \
|
--network none \
|
||||||
--device=/dev/kvm \
|
--device=/dev/kvm \
|
||||||
uazo/github-runner:2.303.1
|
uazo/github-runner:2.303.2
|
||||||
|
|
||||||
echo "You can stop now"
|
echo "You can stop now"
|
||||||
sleep 5s
|
sleep 5s
|
||||||
|
Loading…
Reference in New Issue
Block a user