Compare commits

..

7 Commits

Author SHA1 Message Date
uazo
e7381936fe Update build_args.gni 2022-12-29 16:51:25 +03:00
uazo
c3b8d405e1 use gh 2.21.1 2022-12-29 09:32:54 +02:00
uazo
5d0b72827e Update README.md 2022-12-28 15:54:15 -01:00
uazo
31dd53a306 enable pdfium in windows 2022-12-28 15:01:38 -01:00
uazo
0f16965303 Update release.yaml 2022-11-26 05:36:06 -04:00
uazo
ae23aa6a50 workaround for ci issue 2022-11-26 05:33:27 -04:00
uazo
f8ca8ac409 Update build-images.yaml 2022-11-22 09:13:49 +02:00
4 changed files with 48 additions and 9 deletions

View File

@@ -35,9 +35,9 @@ jobs:
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo apt-get remove google-cloud-sdk azure-cli hhvm google-chrome-stable \
firefox mysql-server-core-8.0 mono-devel mongodb-org-server podman mongodb-org-mongos \
powershell dotnet-runtime-3.1 dotnet-runtime-5.0 dotnet-sdk-3.1 dotnet-sdk-5.0
sudo apt-get remove google-cloud-sdk azure-cli google-chrome-stable \
firefox mysql-server-core-8.0 mono-devel podman \
powershell
sudo apt-get autoremove
- name: Checkout repo

View File

@@ -58,9 +58,9 @@ jobs:
cd bromite
GH=gh_2.18.1_linux_amd64/bin/gh
wget https://github.com/cli/cli/releases/download/v2.18.1/gh_2.18.1_linux_amd64.tar.gz
tar xfz gh_2.18.1_linux_amd64.tar.gz
GH=gh_2.21.1_linux_amd64/bin/gh
wget https://github.com/cli/cli/releases/download/v2.21.1/gh_2.21.1_linux_amd64.tar.gz
tar xfz gh_2.21.1_linux_amd64.tar.gz
echo ${{ secrets.GITHUB_TOKEN }} | $GH auth login --with-token
@@ -79,11 +79,13 @@ jobs:
$GH release upload $VERSION-$BROMITE_SHA $APK
echo Uploading chrome.size
$GH release upload $VERSION-$BROMITE_SHA $OUTPUTFILE/chrome.size
test $VERSION-$BROMITE_SHA $OUTPUTFILE/chrome.size && \
$GH release upload $VERSION-$BROMITE_SHA $OUTPUTFILE/chrome.size
echo Uploading arm64_ninja_log_trace.html
cp $OUTPUTFILE/ninja_log_trace.html arm64_ninja_log_trace.html
$GH release upload $VERSION-$BROMITE_SHA arm64_ninja_log_trace.html
test $OUTPUTFILE/ninja_log_trace.html && \
cp $OUTPUTFILE/ninja_log_trace.html arm64_ninja_log_trace.html && \
$GH release upload $VERSION-$BROMITE_SHA arm64_ninja_log_trace.html
# windows
mkdir chrome-win/
@@ -119,6 +121,9 @@ jobs:
echo Uploading chrome-win.zip
$GH release upload $VERSION-$BROMITE_SHA chrome-win.zip
# workaround for https://github.com/cli/cli/issues/6599
sleep 30s
TIMESTAMP=$(date +%s -r chrome-win.zip)
echo >updateurl.txt "browser=chromium;os=windows;architecture=64-bit;timestamp=$TIMESTAMP;editor=uazo;channel=stable;repository=https://github.com/uazo/bromite-buildtools/releases;download=https://github.com/uazo/bromite-buildtools/releases/latest/download/chrome-win.zip;version=$(cat $WINOUT/RELEASE);revision=1;commit=$BROMITE_SHA"

View File

@@ -64,3 +64,30 @@ drwxr-xr-x 3 root root 4096 Oct 5 13:20 'Windows Kits'
cd bromite-buildtools/images/github-runner/
./start-runner.sh
```
### Test Android Version
Simply download latest build on https://github.com/uazo/bromite-buildtools/releases/latest
### Test Windows Version
1. Download https://github.com/henrypp/chrlauncher/releases
2. Create a `chrlauncher.ini`
```
[chrlauncher]
# Custom Chromium update URL (string):
ChromiumUpdateUrl=https://github.com/uazo/bromite-buildtools/releases/latest/download/updateurl.txt
# Command line for Chromium (string):
# See here: http://peter.sh/experiments/chromium-command-line-switches/
ChromiumCommandLine=--user-data-dir=".\User Data" --no-default-browser-check
# Chromium executable file name (string):
ChromiumBinary=chrome.exe
# Chromium binaries directory (string):
# Relative (to chrlauncher directory) or full path (env. variables supported).
ChromiumDirectory=.\bin
```

View File

@@ -10,6 +10,7 @@ if(getenv("TARGET_CPU") != "") {
}
if (target_os == "android") {
target_os = "android" # fix traffic annotation auditor
enable_kythe_annotations = true
chrome_public_manifest_package = "org.bromite.bromite.dev"
@@ -33,9 +34,15 @@ if (target_os == "android") {
}
if (target_os == "win") {
target_os = "win" # fix traffic annotation auditor
target_cpu = "x64"
symbol_level = 0
use_large_pdbs = true
enable_pdf = true
pdf_is_complete_lib = true
enable_plugins = true
enable_ppapi = false
is_cfi = false # disable it
use_cfi_cast = false # disable it