Skip to content

Commit

Permalink
Try a fix for a vbox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Apr 5, 2022
1 parent 749c43d commit 3288623
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,13 @@ jobs:
run: |
# coreutils provides a readlink that supports `-f`
brew install coreutils docker docker-machine
# <https://github.com/actions/virtual-environments/issues/4431>
brew uninstall virtualbox
cd "$(brew --repo homebrew/cask)"
git checkout 8670a72380c57c606d6582b645421e31dad2eee2
brew install --cask virtualbox
mkdir -p ~/.docker/machine/cache
wget -O ~/.docker/machine/cache/boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso
docker-machine --native-ssh create --driver virtualbox default
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
sudo apt-get update -qq
sudo apt-get install eatmydata
sudo eatmydata apt-get install singularity-container gnupg moreutils strace
echo "just a touch to trigger workflow"
- name: Determine git-annex ref to build
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/template/build-{{ostype}}.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,13 @@ jobs:
{% if ostype == "macos" %}
# coreutils provides a readlink that supports `-f`
brew install coreutils docker docker-machine

# <https://github.com/actions/virtual-environments/issues/4431>
brew uninstall virtualbox
cd "$(brew --repo homebrew/cask)"
git checkout 8670a72380c57c606d6582b645421e31dad2eee2
brew install --cask virtualbox

mkdir -p ~/.docker/machine/cache
wget -O ~/.docker/machine/cache/boot2docker.iso https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso
docker-machine --native-ssh create --driver virtualbox default
Expand Down

0 comments on commit 3288623

Please sign in to comment.