Update gcc-4.8 CI to Ubuntu 18.04

This commit is contained in:
Saúl Ibarra Corretgé 2024-04-22 09:24:06 +02:00 committed by Ben Noordhuis
parent 3241b46220
commit 38f9e429e4

View file

@ -94,33 +94,30 @@ jobs:
linux-gcc48:
runs-on: ubuntu-latest
container:
image: ubuntu:14.04
image: ubuntu:18.04
steps:
- name: install dependencies
run: |
apt update && apt -y install make gcc-4.8 wget time software-properties-common
apt update && apt -y install make gcc-4.8 cmake software-properties-common
# git in default ppa repository is too old to run submodule checkout
add-apt-repository -y ppa:git-core/ppa
apt update
apt install -y git
wget -nv https://github.com/Kitware/CMake/releases/download/v3.28.0-rc5/cmake-3.28.0-rc5-linux-x86_64.sh
sh cmake-3.28.0-rc5-linux-x86_64.sh --skip-license --prefix=/usr
apt update && apt install -y git
- name: checkout
uses: actions/checkout@v3
with:
submodules: true
- name: build
env:
CC: gcc-4.8
run: |
CC=gcc-4.8 make
mkdir build
cd build
cmake ..
cd ..
make -C build -j$(getconf _NPROCESSORS_ONLN)
- name: stats
run: |
make stats
- name: test
run: |
make test
- name: test 262
run: |
time make test262
./build/qjs -qd
linux-examples:
runs-on: ubuntu-latest
steps: