actions / runner-images Goto Github PK
View Code? Open in Web Editor NEWGitHub Actions runner images
License: MIT License
GitHub Actions runner images
License: MIT License
Describe the bug
Can you put C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild
on the PATH
please?
Virtual environments affected
Chrome is available on Linux and Windows, for absent from macOS. It'd be nice if it was available on all.
It's not complicated to add ourselves, but it adds more noise to the workflow file (I have a growing list of things like this that just set up one tool on one OS).
- name: Setup Chrome
if: matrix.os == 'macOS-latest'
run: brew cask install google-chrome
Tool information
Virtual environments affected
Can this tool be installed during the build?
It can be, but it's not trivial. There is some discussions going on in the feature request thread on the community site: https://github.community/t5/GitHub-Actions/Feature-request-Pre-installed-Qt-on-Windows/m-p/31004#M680
Tool information
.nvmrc
fileVirtual environments affected
(Already installed one macOS virtual env)
Can this tool be installed during the build?
Yes, but not easily. See https://github.community/t5/GitHub-Actions/How-to-share-shell-profile-between-steps-or-how-to-use-nvm-rvm/td-p/33185
Are you willing to submit a PR?
Was trying actions out, this is our blocker atm. https://www.ruby-lang.org/en/news/2019/08/28/ruby-2-5-6-released/
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes, via choco install msys2
.
Are you willing to submit a PR?
Tool information
Can this tool be installed during the build?
I guess so
Are you willing to submit a PR?
If you are willing to share code lol
Tool information
Virtual environments affected
Already exists on the Windows and Linux environments.
Can this tool be installed during the build?
Are you willing to submit a PR?
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes, using subosito/flutter-action, takes ~60s to complete
On Ubuntu-16.04, when building extension gems that use OpenSSL, they are building with OpenSSL 1.1.1, but the Rubies are using 1.0.2.
I haven't seen this on Travis, and it may create some testing confusion. It's not uncommon for tests to use Ruby for SSL sockets or net/http for clients. But, one's protocols won't line up (1.0.2 may have SSLv3, 1.1.1 has TLSv1.3, etc)...
Otherwise, on Ubuntu-18.04, everything is 1.1.1, on macOS, everything is 1.0.2...
JFYI, on Travis macOS, the OpenSSL version used is dependent on the XCode version, and both 1.0.2 and 1.1.1 are available...
Describe the bug
Lately Windows environment has random case drive letter for partition D:. Sometime it's D:\
, and sometime it's d:\
. In the same logs I see that Node.js installed on partition C: all the time (it's uppercased). This drive letter case difference makes our tests fail. Because Node.js for some reason always use uppercase drive letter in it's core modules.
Virtual environments affected
Not sure which one, we use windows-latest
.
Expected behavior
Expecting that drive letter always would be uppercased. E. g. D:
.
Actual behavior
I can't spot any pattern when this happen. If our build failed, I could restart it n times and it would be still failing, but on n + 1 time it would succeed.
Here's our workflow: https://github.com/stylelint/stylelint/blob/e8bf1a1e47e02100c268bd903ab1e06195a41e8e/.github/workflows/nodejs.yml#L37-L62
Successful run, with drive letter D:
: https://github.com/stylelint/stylelint/runs/253213464 for this commit stylelint/stylelint@20a7954
Failed run, with drive letter d:
: https://github.com/stylelint/stylelint/runs/253528783 for this commit stylelint/stylelint@febfbb6
It's a two sequential commits 5 hours apart. Test fails because path Node.js provides (always uppercase drive letter) doesn't match real drive letter (sometimes lowercase).
Environment information
I would like to be able to request Arch Linux as a build platform because honestly Ubuntu is sometimes horribly failing to provide a clean build environment (outdated compiler, g++-9 wont install due to a package conflict rendering ubuntu unusable for one of my projects). Arch shouldn't have such issues and is a very small OS, there are exisiting VM images to start of with. It would be nice to have an AUR helper (namely yay
) installed in case AUR packages are required.
Are you willing to submit a PR?
Yes
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes, include binary in image.
Are you willing to submit a PR?
willing to try.
Tool information
ext-intl
(php-intl
)Virtual environments affected
Can this tool be installed during the build?
Yes by using sudo apt install php{$php-version}-intl
Are you willing to submit a PR?
Maybe
When using setup-ruby, on ubuntu, bundler is not installed, and can be installed by gem install bundler
.
But on macos, bundler is available by default, but also breaks if you try to install it using gem install bundler
.
Can we just have it installed by default?
Tool information
Virtual environments affected
Can this tool be installed during the build?
Currently working around this limitation with a build step that does:
sudo apt-get -yqq install chromium-chromedriver
Currently this steps takes ~2 minutes and must be run on every build that will run browser tests. :(
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes, Include appropriate binary from github.
Are you willing to submit a PR?
I am willing to attempt it.
Describe the bug
This article lists libcurl
between the available software for ubuntu-latest
, however installing the Patron
ruby gem fails with Can't find libcurl or curl/curl.h (RuntimeError)
.
Virtual environments affected
Expected behavior
It should be possible to install the patron gem without first installing any other dependency (apart from bundler
).
Actual behavior
Installation of Patron
ruby gem fails with Can't find libcurl or curl/curl.h (RuntimeError)
.
Adding sudo apt-get install libcurl4-openssl-dev
to the step fixes the issue, but it should not be necessary.
Workflow job:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.3.x, 2.4.x, 2.5.x, 2.6.x]
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build
run: |
gem install bundler
bundle install --jobs 4 --retry 3
Gemfile:
# frozen_string_literal: true
source 'https://rubygems.org'
group :test do
gem 'patron', '>= 0.4.2'
end
Tool information
Virtual environments affected
Note that the Ubuntu versions can probably be dealt with via a simple apt-get
, but the Mac and Windows environments require running an interactive installer.
Can this tool be installed during the build?
Uncertain. It's possible that the installer has an unattended mode that can be used but I've never tried to do so. Some components included in the SDK (such as the SPIRV tooling) can be acquired via other means, such as using vcpkg
to install the spirv-tools library. However, it's worth noting that the vcpkg
port for Vulkan specifically says
Due to the complexity involved, this package doesn't install the Vulkan SDK.
It instead verifies that Vulkan is installed.
Other packages can depend on this package to declare a dependency on Vulkan.
Indicating that building the VulkanSDK from source is extremely non-trivial
Are you willing to submit a PR?
I'm uncertain what a PR could accomplish in this area, since the installation of the SDK is typically a manual process. But sure, I'll submit a PR if someone can provide guidance on a mechanism and within my ability to fix.
Tool information
rustc
by itself is 11M on my Ubuntu system.Virtual environments affected
Can this tool be installed during the build?
Yes, though it adds a couple minutes to the build.
Are you willing to submit a PR?
If someone can show me what would need to be changed, certainly.
On a related note, it would be great if various stable versions were also provided!
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes, can be downloaded and installed from the github page
Are you willing to submit a PR?
Yes
Tool information
Virtual environments affected
Can this tool be installed during the build?
brew install libpq
(this fixes also #12)Are you willing to submit a PR?
Sure, but where are the sources?
Description
In a runs-on: windows-latest
job running a shell: bash
step, the sha256sum -c
command fails because of an unexpected CR byte in the file name:
sha256sum: 'libusb-1.0.22.7z'$'\r': No such file or directory
Setting text eol=lf
for the checksum file in .gitattributes
fixes the issue.
Maybe this isn't really a bug (it would arguably be a bug in sha256sum
if anything), but at least it is surprising behaviour.
Virtual environments affected
Expected behavior
The sha256sum
command, when run in a bash
shell, behaves as it would in Linux/MacOS, and successfully verifies the checksum of the file.
Actual behavior
The checksum file is by default checked out with CRLF line endings, and sha256sum
fails to find the file to be checked because of the trailing CR in the file name.
For reproduction, see this build and the github-actions-windows-sha256sum-bug-report branch in YubiKey Manager (these links will probably die soon)
Essentially the same problem as actions/setup-ruby#8.
Since 2.6.4
is a release for security reasons everyone should be able update ASAP, which gives the topic a certain urgency.
Has anyone found a way to install a specific ruby version manually?
Thanks in advance,
Jo
Is there an equivalent to circleci/node:jessie-browsers
for GitHub Actions?
I'm trying to test an Electron app but Chrome isn't available.
unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /home/runner/work/.../node_modules/spectron/lib/launcher.js is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
I imagine there are other use case too for integration tests on any front-end app.
Describe the bug
The windows image has a different version of node installed and cached from the other images making matrix testing inconsistent.
Virtual environments affected
Expected behavior
A consistent version of node. I realize that timing of images will vary but I don't think that's the issue. I think the image cache and the scripts are inconsistent between the images.
Actual behavior
Insonsistent versions of node.
Tool information
Virtual environments affected
Can this tool be installed during the build?
if my memory didn't fail me, by using sudo apt-get install php-pear
Are you willing to submit a PR?
No
I'm still on the 'wait list' for Actions, so I haven't been able to look into it seriously.
To fully support Ruby on Windows, it would certainly be helpful to have the MSYS2 build system installed, along with access to the packages used to build Ruby. Restricting Ruby to 2.4 and later, I believe all the packages are shared, with the exception of OpenSSL.
Ruby 2.4 currently uses OpenSSL 1.0.2, Ruby 2.5 and later use 1.1.1. This is due to the std-lib version of Ruby OpenSSL being used (2.0.9 for 2.4, 2.1.2 for 2.5 and later).
Otherwise, the only package commonly used that isn't repo specific would be ragel.
Describe the bug
The following standard build command for C extensions in Python fails for all Windows environments for all supported Python versions:
python setup.py build_ext --inplace
It appears that the appropriate versions of Microsoft Visual C++ are not installed/configured.
Please note that the correct MSVC++ version varies across Python versions; see here for specifics.
Virtual environments affected
Expected behavior
It should be possible to build Python C extensions in Windows virtual environments. For a Python build/test pipeline, this means selecting the correct version to use for a given Python version.
Actual behavior
This should be reproducible for any Python library with any C (or Cython) components on Windows. I encountered the issue while attempting to configure Github Actions for such a library that I maintain. An example of a failed build log is https://github.com/pydata/bottleneck/runs/240915673
Describe the bug
From reading this post, one could assume that both macOS-14.04
and macOS-latest
virtual environments have been updated to Mono 6.0 (among other things): https://github.blog/changelog/2019-10-04-github-actions-macos-virtual-environment-updates/
This doesn't seem to be the case, as both of these virtual environments are still on Mono 5.x (not to mention older versions of Xamarin, msbuild etc.).
I'm assuming this is either a bug, or a really slow rollout, but in either case I'd appreciate it if you could let me know if/when this will be fixed, as I desperately need an up-to-date environments, so my builds don't break. :)
Virtual environments affected
Expected behavior
Virtual environment has Mono 6.
Actual behavior
Has Mono 5
Tool information
Virtual environments affected
Can this tool be installed during the build?
Just download a binary file. It will take less than a few seconds.
Are you willing to submit a PR?
Python 3.4.x reached end of life in March https://www.python.org/downloads/release/python-340/
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes using chocolatey and the other package managers it is possible to install it during build time. However, it takes ~3 min to do so and creates unnecessary traffic.
Are you willing to submit a PR?
Sure
I'm trying to set up Github Actions as our CI solution but ran into an issue when I tried to specify the Ruby version as 2.6.2. After looking through other issues on here I found actions/setup-ruby#8 and from that discovered that when 2.6.3 was released 2.6.2 was dropped and that the recommendation was to
If this is to be usable for CI then I need to be able to test against the same Ruby version that my app uses in production. With the current way Ruby versions are managed by this project it seems like unless I'm using a very specific Ruby version and upgrading the version I use in prod to stay in sync. Is Github Actions not intended for use as a CI solution or is there a better way to test against a particular Ruby version?
Tool information
Virtual environments affected
Can this tool be installed during the build?
Are you willing to submit a PR?
Tool information
Virtual environments affected
Can this tool be installed during the build?
Are you willing to submit a PR?
Describe the bug
Getting the following error when building docker images using DOCEKR_BUILDKIT: 1
env variable. This is the error we're getting:
error creating overlay mount to /var/lib/docker/overlay2/g4qhyt5fquj0qo1a3jeywbyo8/merged: device or resource busy
Seems to be related to this moby
issue which was fixed in the last version of docker released a week ago: docker/for-linux#711
Virtual environments affected
Expected behavior
Image to be built without errors.
Actual behavior
Build any docker image using multi-stage builds and buildkit.
Tool information
Virtual environments affected
Can this tool be installed during the build?
As far as I know, no.
Are you willing to submit a PR?
I have 0 clues what I'm doing as is so, unfortunately no.
Describe the bug
When executing apt-get upgrade --no-install-recommends -y --force-yes
in my build, it appears to fail trying to upgrade the php7 packages...
Virtual environments affected
Expected behavior
apt-get upgrade --no-install-recommends -y --force-yes
should succeed to upgrade existing packages.
Actual behavior
apt-get upgrade ...
fails with the follow messages:
Unsafe symlinks encountered in /run/php, refusing.
Job for php7.3-fpm.service failed because the control process exited with error code.
See "systemctl status php7.3-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.3-fpm, action "restart" failed.
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-10-11 06:12:09 UTC; 7ms ago
Docs: man:php-fpm7.3(8)
Process: 13234 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Main PID: 13234 (code=exited, status=78)
Tool information
libpq-dev
is a C library for interfacing with Postgres; it is commonly needed for Ruby/Rails environments that create and interact with a database as part of test suitesVirtual environments affected
Can this tool be installed during the build?
Current workaround is to install manually via apt-get
-- this adds 1-2 minutes to the workflow time and has to be repeated for every build
Describe the bug
I have an issue concerning the default version of Boost for instance provided with 16.04 and 18.04. Why to not use the one provided by the Ubuntu releases?
Virtual environments affected
Tool information
Virtual environments affected
Can this tool be installed during the build?
The requested version is a standalone executable, no installation required.
Are you willing to submit a PR?
Yes.
The vcpkg binary exists on the target environments, but it would be much more useful if the YAML could specify a specific vcpkg commit, and a set of packages required for a given build. If the server side could recognize and cache this state, it could potentially shave an enormous amount of time off of individual builds.
Tool information
Virtual environments affected
Can this tool be installed during the build?
Yes
Are you willing to submit a PR?
Once caching support exists in the GA syntax, yes, I would be willing to write a tool like this.
macOS & Windows are okay, but Ubuntu is missing a cert file. Normally, one of the below should point to a valid cert file.
OpenSSL::X509::DEFAULT_CERT_FILE
ENV['SSL_CERT_FILE']
On macOS, the value of OpenSSL::X509::DEFAULT_CERT_FILE
is
/usr/local/etc/openssl/cert.pem
,
On Windows, the file is included in the Ruby distro.
Aws cli is available on Ubuntu environments, but not on Windows environments
Tool information
Virtual environments affected
Can this tool be installed during the build?
On windows environments a user can run pip install awscli
to get a python version of the tool, but there's a small pre-built binary available from Amazon that would be useful to reduce build time
Tool information
Tool name: SFDX
Add or update? Add
Desired version: Latest
Approximate size: 40MB
If this is an add request:
Brief description of tool:
The CLI provides all the commands you need for setting up CI-CD towards the Saleforce env.
URL for tool's homepage:
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli
Virtual environments affected
Can this tool be installed during the build?
Yes, here's how:
Method 1:
(this step is just for neatness in this add request)
$ export CLIURL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz
Create sfdx directory
$ mkdir sfdx
Install Salesforce CLI
$ wget -qO- $CLIURL | tar xJ -C sfdx --strip-components 1
$ ./sfdx/install
$ export PATH=./sfdx/$(pwd):$PATH
verify install and stdout version information
$ sfdx --version
or
$ sfdx force
Method 2:
Are you willing to submit a PR?
Sure
:-)
Tool information
.ruby-version
fileVirtual environments affected
Can this tool be installed during the build?
Yes, but not easily. See https://github.community/t5/GitHub-Actions/How-to-share-shell-profile-between-steps-or-how-to-use-nvm-rvm/td-p/33185
Are you willing to submit a PR?
Describe the bug
The kernel in the Ubuntu 18.04 images suffers from a kernel bug that prevents .NET Core from running in a container.
It seems that subsequent updates may have fixed this.
Virtual environments affected
Expected behavior
.NET Core containers run correctly
Actual behavior
.NET Core container runs fail with "The FileName property should not be a directory unless UseShellExecute is set"
See https://github.community/t5/GitHub-Actions/Docker-build-failure-on-Ubuntu-18-04-host/m-p/33224#M1423
Tool information
Virtual environments affected
Can this tool be installed during the build?
Are you willing to submit a PR?
Just need to add to the Visual Studio installation:
Microsoft.VisualStudio.Component.VC.Llvm.Clang
(C++Compiler Clang for Windows (version8.0.1))Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset
(C++ Clang-cl for v142 Build Tools (x64/x86))Tool information
Virtual environments affected
Can this tool be installed during the build?
yes, minutes
Are you willing to submit a PR?
maybe
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.