Comments (7)
Any idea how to modify the code to circumvent the 6 hour limit?
As long as you're not using your own machines/VMs I think this cannot be done, as GitHub imposes that limit and they actually have to pay for the compute resources.
Can the build script be broken into 2 or more parts
Maybe. Although it might be quite tricky to achieve that. See also the discussion here: ungoogled-software/ungoogled-chromium#1062
from ungoogled-chromium-macos.
I haven't thought about breaking up the compilation into (sequential) pieces. Maybe that could work too. I thought about trying a different compiler like zappcc for github actions at one point.
Currently, I have a dedicated build system available so implementing anything that works on github actions did not have the highest priority for me – although it would help a lot in general. Maybe I'll get back to you when I get the time to work on this a bit further.
from ungoogled-chromium-macos.
The idea for splitting is to upload the built sources as an artifact and then have another job download the artifact and continue building. I have set up this workflow that achieves that.
https://github.com/jstkdng/ungoogled-chromium-archlinux/blob/master/.github/workflows/build.yml
@kramred Github doesnt pay anything as it is owned by microsoft and actions use azure vms.
from ungoogled-chromium-macos.
It might be that your run got terminated because of the time limit – although it states up to 6 hours execution time, the error message in your log could indicate that the virtual machine was terminated.
Maybe there is/was an error in the calculation of the duration start: 2020-06-09T19:29, end: 2020-06-10T00:44; or something else caused the virtual machine to terminate early.
from ungoogled-chromium-macos.
I had rerun the same build. So the previous logs are not available. But that run terminated around 4 hour mark. This run too, it terminated before 6 hour mark.
Any idea how to modify the code to circumvent the 6 hour limit? Can the build script be broken into 2 or more parts?
from ungoogled-chromium-macos.
After a complete run, the code could not go past 34000.
Maybe. Although it might be quite tricky to achieve that.
Since you are more familiar with the code, where do you suggest the script can be broken? I would like to give it a try just to be sure.
Also, following warnings are getting generated.
warning: unknown warning option '-Wno-enum-enum-conversion'; did you mean '-Wno-enum-conversion'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-enum-float-conversion'; did you mean '-Wno-float-conversion'? [-Wunknown-warning-option]
2 warnings generated.
from ungoogled-chromium-macos.
@anshul78 – I've followed @jstkdng example and set up a workflow for building Ungoogled Chromium using GitHub Actions, see https://github.com/kramred/ungoogled-chromium-macos/tree/build_on_github
I'm waiting for the final version to finish building and will then open a pull request (PR) on the main repo for macOS.
Soon we should have binaries directly from GitHub Actions, and you can also use the workflow to build them yourself.
I'll update in 12-14 h.
It already worked here if you want to grab that binary.
Build times were in the range of 11 to 13 hours.
Update 2020-07-15:
PR #54 addresses building on GitHub. See here for a successful example run.
from ungoogled-chromium-macos.
Related Issues (20)
- Is this project dead ? HOT 1
- Missing ARM64 build for 112.0.5615.49 HOT 2
- Google Voice in-call Audio Silent HOT 3
- Why only Mac version not update? New version has been released for a long time HOT 1
- Will there be new versions for macos? HOT 14
- Will there be an arm version for 116.0.5845.179? HOT 4
- Error building HOT 6
- Error refreshing patches HOT 6
- iCloud Password Extension HOT 13
- `(Error code: 9) (Extra code: 0)` in About Chromium page HOT 7
- A small suggestion for the Release Notes HOT 4
- Use arm64 LLVM when building UGC on Apple Silicon HOT 2
- Migrate source validation CI from Cirrus to GitHub Action
- Ungoogled Arc Browser HOT 6
- 105.0.5195.102 is not building for arm64 HOT 1
- Touch ID/Biometric authentication not available HOT 19
- REQ: please make available on MacPorts HOT 4
- No update via Homebrew HOT 5
- Issue w/ Updating v. 109.0.5414.120 HOT 1
- Updating to 110 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ungoogled-chromium-macos.