Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove Ubuntu 16 #3185

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,13 @@ on:
jobs:

linux-and-mac:
# if: ${{ false }}
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} BUILD=${{ matrix.config.build }} CC=${{ matrix.config.cc }} CXX=${{ matrix.config.cxx }} AUTOTOOLS=${{ matrix.config.autotools }}

strategy:
fail-fast: false
matrix:
config:
#- {os: ubuntu-16.04, build: 'static', cc: 'gcc-4.4', cxx: 'g++-4.4', autotools: 'no', cppstd: 'gnu++0x'}
#- {os: ubuntu-16.04, build: 'static', cc: 'gcc-4.6', cxx: 'g++-4.6', autotools: 'no', cppstd: 'gnu++0x'}
- {os: ubuntu-16.04, build: 'static', cc: 'gcc-4.7', cxx: 'g++-4.7', autotools: 'no', cppstd: 'gnu++11'}
- {os: ubuntu-16.04, build: 'static', cc: 'gcc-4.8', cxx: 'g++-4.8', autotools: 'no', cppstd: 'c++11'}
- {os: ubuntu-16.04, build: 'static', cc: 'gcc-5', cxx: 'g++-5', autotools: 'no', cppstd: 'c++11'}
- {os: ubuntu-16.04, build: 'static', cc: 'gcc-6', cxx: 'g++-6', autotools: 'no', cppstd: 'c++11'}
- {os: ubuntu-latest, build: 'static', cc: 'gcc-7', cxx: 'g++-7', autotools: 'no', cppstd: 'c++11'}
- {os: ubuntu-latest, build: 'shared', cc: 'gcc', cxx: 'g++', autotools: 'yes', cppstd: 'c++11'}
- {os: ubuntu-latest, build: 'static', cc: 'gcc', cxx: 'g++', autotools: 'yes', cppstd: 'c++11'}
Expand All @@ -51,16 +44,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
if: matrix.config.os == 'ubuntu-16.04'
with:
ruby-version: 2.6
- name: Install ruby hrx module
if: matrix.config.os == 'ubuntu-16.04'
run: sudo /opt/hostedtoolcache/Ruby/2.6.7/x64/bin/gem install hrx
- name: Install ruby minitest module
if: matrix.config.os == 'ubuntu-16.04'
run: sudo /opt/hostedtoolcache/Ruby/2.6.7/x64/bin/gem install minitest
- name: Install automake if needed (MacOS)
if: runner.os == 'macOS'
run: brew install automake
Expand All @@ -70,49 +53,6 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
- name: Install gcc 6 if needed
if: matrix.config.cc == 'gcc-6'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-6 -y
- name: Install gcc 5 if needed
if: matrix.config.cc == 'gcc-5'
run: |
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo apt update
sudo apt install g++-5 -y
- name: Install gcc 4.8 if needed
if: matrix.config.cc == 'gcc-4.8'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-4.8 -y
- name: Install gcc 4.7 if needed
if: matrix.config.cc == 'gcc-4.7'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-4.7 -y
- name: Install gcc 4.6 if needed
if: matrix.config.cc == 'gcc-4.6'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-4.6 -y
- name: Install gcc 4.5 if needed
if: matrix.config.cc == 'gcc-4.5'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-4.5 -y
- name: Install gcc 4.4 if needed
if: matrix.config.cc == 'gcc-4.4'
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-4.4 -y
- name: ./script/ci-install-deps
env:
MAKE_OPTS: LIBSASS_CPPSTD=${{ matrix.config.cppstd }}
Expand Down Expand Up @@ -212,7 +152,3 @@ jobs:
run: make sassc BUILD=${{ matrix.config.build }}
- name: Execute spec test runner
run: ruby sass-spec/sass-spec.rb --probe-todo --impl libsass -c sassc/bin/sassc.exe -s sass-spec/spec


#- name: Install LLVM and Clang
# uses: KyleMayes/install-llvm-action@v1.2.2
Loading