Skip to content

Commit

Permalink
Update gcc-4.8 CI to Ubuntu 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul authored and bnoordhuis committed Apr 23, 2024
1 parent 3241b46 commit 38f9e42
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 38f9e42

Please sign in to comment.