Skip to content

Commit 964bfb5

Browse files
chore(CI): Ubuntu-20.04 hosted runner image removed (fixes #1342) (#1343)
1 parent 5e20fe6 commit 964bfb5

File tree

3 files changed

+1
-116
lines changed

3 files changed

+1
-116
lines changed

.github/workflows/ccpp.yml

Lines changed: 0 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -545,121 +545,6 @@ jobs:
545545
name: nelson-github-action-artifacts-linux-ubuntu-22-04-amd64-${{steps.json_version.outputs.packageVersion}}.${{ github.run_number }}
546546
path: artifacts/
547547

548-
Focal:
549-
name: Ubuntu-20.04 Focal (BLAS - LAPACK)
550-
runs-on: ubuntu-20.04
551-
timeout-minutes: 120
552-
553-
steps:
554-
- name: install dependencies
555-
run: |
556-
sudo apt update;
557-
sudo apt -y install apt-transport-https ca-certificates gnupg software-properties-common wget ;
558-
sudo apt -y autoremove cmake-data;
559-
sudo apt -y remove --purge --auto-remove cmake;
560-
sudo rm -rf /usr/local/bin/cmake
561-
version=3.16
562-
build=2
563-
mkdir ~/temp
564-
cd ~/temp
565-
wget https://cmake.org/files/v$version/cmake-$version.$build-Linux-x86_64.sh
566-
sudo mkdir /opt/cmake
567-
sudo sh cmake-$version.$build-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
568-
sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
569-
cmake --version
570-
sudo apt -y install ninja-build;
571-
sudo apt -y install xvfb;
572-
sudo apt -y install libopenmpi-dev;
573-
sudo apt -y install autotools-dev;
574-
sudo apt -y install libtool;
575-
sudo apt -y install automake;
576-
sudo apt -y install openmpi-bin;
577-
sudo apt -y install gettext;
578-
sudo apt -y install pkg-config;
579-
sudo apt -y install libffi-dev;
580-
sudo apt -y install libicu-dev;
581-
sudo apt -y install libxml2-dev;
582-
sudo apt -y install liblapack-dev;
583-
sudo apt -y install liblapacke-dev;
584-
sudo apt -y install fftw3;
585-
sudo apt -y install fftw3-dev;
586-
sudo apt -y install libasound-dev;
587-
sudo apt -y install portaudio19-dev;
588-
sudo apt -y install libsndfile1-dev;
589-
sudo apt -y install libtag1-dev;
590-
sudo apt -y install alsa-utils;
591-
sudo apt -y install libslicot-dev;
592-
sudo apt -y install libsqlite3-dev;
593-
sudo apt -y install libgl-dev;
594-
sudo apt -y install hdf5-tools;
595-
sudo apt -y install zlib1g-dev;
596-
sudo apt -y install libcurl4-openssl-dev;
597-
sudo apt -y install libgit2-dev;
598-
sudo apt -y install libtbb-dev;
599-
sudo add-apt-repository --yes ppa:beineri/opt-qt-5.15.4-focal;
600-
sudo apt update;
601-
sudo apt -y install qt515base qt515svg qt515tools qt515quickcontrols2 qt515quickcontrols qt515declarative qt515wayland;
602-
sudo apt-get install -y libboost-all-dev;
603-
git clone https://gitlab.com/libeigen/eigen.git /tmp/eigen;
604-
mkdir /tmp/eigen-build;
605-
cd /tmp/eigen;
606-
git checkout 3.4;
607-
cd -;
608-
cd /tmp/eigen-build;
609-
cmake . /tmp/eigen;
610-
make -j4;
611-
sudo make install;
612-
cd -;
613-
git clone https://github.com/HDFGroup/hdf5.git /tmp/hdf5-1_10_5;
614-
cd /tmp/hdf5-1_10_5;
615-
git checkout hdf5-1_10_5;
616-
./configure --quiet --prefix=/usr/local --enable-shared --disable-deprecated-symbols --disable-hl --disable-strict-format-checks --disable-memory-alloc-sanity-check --disable-instrument --disable-parallel --disable-trace --disable-asserts --with-pic --with-default-api-version=v110 CFLAGS="-w";
617-
sudo make install -C src;
618-
git clone https://github.com/tbeu/matio /tmp/matio;
619-
cd /tmp/matio;
620-
git checkout v1.5.16;
621-
cd /tmp/matio;
622-
./autogen.sh;
623-
./configure --enable-shared --enable-mat73=yes --enable-extended-sparse=no --with-pic --with-hdf5=/usr/local;
624-
make;
625-
sudo make install;
626-
627-
- uses: actions/setup-python@v5
628-
with:
629-
python-version: "3.10.13"
630-
- name: Checkout
631-
uses: actions/checkout@v4
632-
- name: Get package version
633-
uses: myrotvorets/info-from-package-json-action@2.0.1
634-
id: json_version
635-
- name: Update version
636-
run: |
637-
python $GITHUB_WORKSPACE/tools/update_version/update_version.py
638-
- name: CMake
639-
run: source /opt/qt515/bin/qt515-env.sh && cmake -DWITHOUT_PYTHON_ENGINE_MODULE=ON -DCMAKE_BUILD_TYPE=Release -G "Ninja" .
640-
- name: make with Ninja
641-
run: cmake --build . -- -j $(nproc)
642-
- name: get module skeleton
643-
run: cmake --build . -- get_module_skeleton
644-
- name: build help
645-
run: cmake --build . -- buildhelp
646-
- name: minimal tests
647-
run: cmake --build . -- tests_minimal
648-
- name: package
649-
run: cmake --build . -- package
650-
- name: Install
651-
run: sudo ninja install
652-
- name: all benchs
653-
run: source /opt/qt515/bin/qt515-env.sh && xvfb-run -a ninja benchs_all
654-
- name: all tests
655-
run: source /opt/qt515/bin/qt515-env.sh && xvfb-run -a ninja tests_all
656-
- name: Copy artifacts
657-
run: mkdir artifacts && mv tests_all*.* artifacts && mv benchs_all*.* artifacts && mv Nelson-*.tar.gz artifacts
658-
- uses: actions/upload-artifact@v4
659-
with:
660-
name: nelson-github-action-artifacts-linux-ubuntu-20-04-amd64-${{steps.json_version.outputs.packageVersion}}.${{ github.run_number }}
661-
path: artifacts/
662-
663548
ArchLinux:
664549
runs-on: ubuntu-latest
665550
container: archlinux:latest

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
### Changed
1717

1818
- Completion .m files allows execution without extension.
19+
- [#1342](http://github.com/nelson-lang/nelson/issues/1342) Github CI - Ubuntu-20.04 hosted runner image removed.
1920

2021
## 1.11.0 (2025-01-11)
2122

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ Nelson is tested and supported on a wide range of platforms. **[Downloads](https
154154
| **Ubuntu 24.04** | x86-64 || ✓ (Snap) |
155155
| **Ubuntu 24.04** | arm64 (cobalt 100) || ✓ (Snap) |
156156
| **Ubuntu 22.04** | x86-64 || ✓ (Snap) |
157-
| **Ubuntu 20.04** | x86-64 || ✓ (Snap) |
158157
| **Fedora 40** | x86-64 || ✓ (Snap) |
159158
| **ArchLinux** | x86-64 || ✓ (Snap) |
160159
| **Raspbian** | ARM v8 (64-bit) | | |

0 commit comments

Comments
 (0)