Skip to content

Commit e9f41c2

Browse files
committed
Update compiler versions
1 parent 4331422 commit e9f41c2

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,35 +98,40 @@ jobs:
9898
steps:
9999
# Install system packages:
100100
- name: 'Install system packages'
101+
shell: bash
101102
run: |
102103
if [[ ${{ matrix.PLATFORM }} = "linux" ]]; then
103104
sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
104105
sudo -E apt-get update -q
105-
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages install binutils gcc-5 gcc-5-multilib g++-5 g++-5-multilib gfortran-5 gfortran-5-multilib xvfb
106-
mkdir -p $HOME/bin;
107-
ln -s /usr/bin/gcc-5 $HOME/bin/gcc;
108-
ln -s /usr/bin/g++-5 $HOME/bin/g++;
109-
ln -s /usr/bin/gfortran-5 $HOME/bin/gfortran;
106+
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages install binutils gcc-9 gcc-9-multilib g++-9 g++-9-multilib gfortran-9 gfortran-9-multilib xvfb
107+
mkdir -p $HOME/bin
108+
ln -s /usr/bin/gcc-9 $HOME/bin/gcc
109+
ln -s /usr/bin/g++-9 $HOME/bin/g++
110+
ln -s /usr/bin/gfortran-9 $HOME/bin/gfortran
110111
else
111-
brew update;
112-
brew install -v gcc;
112+
brew update
113+
brew install -v gcc
113114
fi
115+
timeout-minutes: 10
114116

115117
# Configure the virtual display server (needed for electron):
116118
- name: 'Configure virtual display server'
119+
shell: bash
117120
run: |
118121
export DISPLAY=':99.0'
119122
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
123+
timeout-minutes: 2
120124

121125
# Install Node.js:
122126
- name: 'Install Node.js'
123127
uses: actions/setup-node@v1
124128
with:
125129
node-version: ${{ matrix.NODE_VERSION }}
126-
timeout-minutes: 10
130+
timeout-minutes: 5
127131

128132
# Print debug info:
129133
- name: 'Print debug info'
134+
shell: bash
130135
run: |
131136
echo 'gcc:'
132137
gcc --version

0 commit comments

Comments
 (0)