mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
* Create symlink for test running * Fix 1604 and 2004 templates * Fix php and haskell running * Minor fix * Fix new added tests * Fix symlink * Minor fix * Fix script permissions * Minor fix * Fix firefox and rust tests * Fix new merged tests
17 lines
639 B
Bash
17 lines
639 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: phantomjs.sh
|
|
## Desc: Installs PhantomJS
|
|
################################################################################
|
|
|
|
|
|
# Install PhantomJS
|
|
apt-get install -y chrpath libssl-dev libxft-dev libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev
|
|
PHANTOM_JS=phantomjs-2.1.1-linux-x86_64
|
|
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
|
|
tar xvjf $PHANTOM_JS.tar.bz2
|
|
mv $PHANTOM_JS /usr/local/share
|
|
ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
|
|
|
|
invoke_tests "Tools" "Phantomjs"
|