Making my way downtown
Walking fast
I'm homebound
lyricwulf / abc Goto Github PK
View Code? Open in Web Editor NEWApt, Brew, and Choco dependencies in one action. Easy as ABC!
License: MIT License
Apt, Brew, and Choco dependencies in one action. Easy as ABC!
License: MIT License
Recently I use lyricwulf/abc@v1
to handle the system dependencies installation, the yaml section is:
- name: Install system dependencies
uses: lyricwulf/abc@v1
with:
linux: libv8-dev librsvg2-dev graphviz
macos: librsvg graphviz
windows: graphviz
However, I received CI fail on macOS from time to time, some times pass, some times fail. Here is the failed one:
...
aws/tap/aws-sam-cli 1.33.0 -> 1.34.1, azure-cli 2.29.0 -> 2.29.1, gnupg 2.3.2 -> 2.3.3, php 8.0.11_1 -> 8.0.12
==> Downloading https://github.com/aws/aws-sam-cli/releases/download/v1.33.0//aws-sam-cli-1.34.1.sierra.bottle.tar.gz
curl: (22) The requested URL returned error: 404
Error: aws-sam-cli: Failed to download resource "aws-sam-cli"
Download failed: https://github.com/aws/aws-sam-cli/releases/download/v1.33.0//aws-sam-cli-1.34.1.sierra.bottle.tar.gz
...
==> php
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php_module /usr/local/opt/php/lib/httpd/modules/libphp.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Finally, check DirectoryIndex includes index.php
DirectoryIndex index.php index.html
The php.ini and php-fpm.ini file can be found in:
/usr/local/etc/php/8.0/
To start php:
brew services start php
Or, if you don't want/need a background service you can just run:
/usr/local/opt/php/sbin/php-fpm --nodaemonize
Error: Process completed with exit code 1.
The step failed because one package download failed.
I also noticed that many other packages are upgraded automatically, which majority time cost for this step on macOS platform.
To minimize the download traffic, which might reduce the possibility of failure on download dependencies, I think we might need to disable the auto updating of Homebrew on macOS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.