Skip to content

Commit 38f9e42

Browse files
saghulbnoordhuis
authored andcommitted
Update gcc-4.8 CI to Ubuntu 18.04
1 parent 3241b46 commit 38f9e42

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,33 +94,30 @@ jobs:
9494
linux-gcc48:
9595
runs-on: ubuntu-latest
9696
container:
97-
image: ubuntu:14.04
97+
image: ubuntu:18.04
9898
steps:
9999
- name: install dependencies
100100
run: |
101-
apt update && apt -y install make gcc-4.8 wget time software-properties-common
101+
apt update && apt -y install make gcc-4.8 cmake software-properties-common
102102
# git in default ppa repository is too old to run submodule checkout
103103
add-apt-repository -y ppa:git-core/ppa
104-
apt update
105-
apt install -y git
106-
wget -nv https://github.com/Kitware/CMake/releases/download/v3.28.0-rc5/cmake-3.28.0-rc5-linux-x86_64.sh
107-
sh cmake-3.28.0-rc5-linux-x86_64.sh --skip-license --prefix=/usr
104+
apt update && apt install -y git
108105
- name: checkout
109106
uses: actions/checkout@v3
110107
with:
111108
submodules: true
112109
- name: build
110+
env:
111+
CC: gcc-4.8
113112
run: |
114-
CC=gcc-4.8 make
113+
mkdir build
114+
cd build
115+
cmake ..
116+
cd ..
117+
make -C build -j$(getconf _NPROCESSORS_ONLN)
115118
- name: stats
116119
run: |
117-
make stats
118-
- name: test
119-
run: |
120-
make test
121-
- name: test 262
122-
run: |
123-
time make test262
120+
./build/qjs -qd
124121
linux-examples:
125122
runs-on: ubuntu-latest
126123
steps:

0 commit comments

Comments
 (0)