Skip to content

Commit bf02a2f

Browse files
Installing chrome in ROOT CI
1 parent 31a508a commit bf02a2f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/root-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ jobs:
121121
with:
122122
ref: ${{ inputs.ref_name }}
123123

124+
- name: Install chrome
125+
run: |
126+
brew install --cask google-chrome
127+
124128
- name: Apply option overrides from matrix for this job for non-release builds
125129
if: ${{ github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && matrix.overrides != NaN }}
126130
env:
@@ -410,6 +414,15 @@ jobs:
410414
uses: actions/checkout@v4
411415
with:
412416
ref: ${{ inputs.ref_name }}
417+
418+
- name: Install chrome
419+
run: |
420+
sudo apt-get update
421+
sudo apt-get install -y wget gnupg
422+
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
423+
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
424+
sudo apt-get update
425+
sudo apt-get install -y google-chrome-stable
413426
414427
- name: Dump GitHub context
415428
env:

0 commit comments

Comments
 (0)