From 38f9e429e41932a2ded3827f0e12045268a2510e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 22 Apr 2024 09:24:06 +0200 Subject: [PATCH] Update gcc-4.8 CI to Ubuntu 18.04 --- .github/workflows/ci.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c52405..c12f764 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: