Update gcc-4.8 CI to Ubuntu 18.04
This commit is contained in:
parent
3241b46220
commit
38f9e429e4
1 changed files with 11 additions and 14 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
@ -94,33 +94,30 @@ jobs:
|
||||||
linux-gcc48:
|
linux-gcc48:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ubuntu:14.04
|
image: ubuntu:18.04
|
||||||
steps:
|
steps:
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: |
|
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
|
# git in default ppa repository is too old to run submodule checkout
|
||||||
add-apt-repository -y ppa:git-core/ppa
|
add-apt-repository -y ppa:git-core/ppa
|
||||||
apt update
|
apt update && apt install -y git
|
||||||
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
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: build
|
- name: build
|
||||||
|
env:
|
||||||
|
CC: gcc-4.8
|
||||||
run: |
|
run: |
|
||||||
CC=gcc-4.8 make
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake ..
|
||||||
|
cd ..
|
||||||
|
make -C build -j$(getconf _NPROCESSORS_ONLN)
|
||||||
- name: stats
|
- name: stats
|
||||||
run: |
|
run: |
|
||||||
make stats
|
./build/qjs -qd
|
||||||
- name: test
|
|
||||||
run: |
|
|
||||||
make test
|
|
||||||
- name: test 262
|
|
||||||
run: |
|
|
||||||
time make test262
|
|
||||||
linux-examples:
|
linux-examples:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue