Skip to content

Commit

Permalink
- .github: ubuntu-16.04 removed
Browse files Browse the repository at this point in the history
  • Loading branch information
oknenavin committed Oct 8, 2021
1 parent 7a2cbbe commit 29df5c1
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 65 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,19 @@ jobs:

# clang ######################################################################

clang-3-5:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
- name: Compiler setup
run: |
sudo apt-get update
sudo apt-get install clang-3.5
- name: Check
env:
CXX: clang++-3.5
CXXFLAGS: -std=c++11
run: make -j check
#clang-3-5:
# runs-on: ubuntu-16.04
# steps:
# - uses: actions/checkout@v1
# - name: Compiler setup
# run: |
# sudo apt-get update
# sudo apt-get install clang-3.5
# - name: Check
# env:
# CXX: clang++-3.5
# CXXFLAGS: -std=c++11
# run: make -j check

clang-4:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -232,16 +232,16 @@ jobs:
CXXFLAGS: -std=c++20
run: make -j check

#clang-12:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v1
# - name: Compiler setup
# run: |
# sudo apt-get update
# sudo apt-get install clang-12
# - name: Check
# env:
# CXX: clang++-12
# CXXFLAGS: -std=c++20
# run: make -j check
clang-12:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Compiler setup
run: |
sudo apt-get update
sudo apt-get install clang-12
- name: Check
env:
CXX: clang++-12
CXXFLAGS: -std=c++20
run: make -j check
60 changes: 21 additions & 39 deletions .github/workflows/time.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,35 @@ jobs:

# clang ######################################################################

clang-3-5:
runs-on: ubuntu-16.04
#clang-3-5:
# runs-on: ubuntu-16.04
# steps:
# - uses: actions/checkout@v1
# - name: Compiler setup
# run: |
# sudo apt-get update
# sudo apt-get install clang-3.5
# - name: Time
# env:
# CXX: clang++-3.5
# CXXFLAGS: -DTIME_ONLY -std=c++11
# run: make time

clang-4:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Compiler setup
run: |
sudo apt-get update
sudo apt-get install clang-3.5
sudo apt-get install clang-4.0
- name: Time
env:
CXX: clang++-3.5
CXX: clang++-4.0
CXXFLAGS: -DTIME_ONLY -std=c++11
run: make time

clang-11:
clang-12:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
Expand All @@ -125,41 +139,9 @@ jobs:
- name: Compiler setup
run: |
sudo apt-get update
sudo apt-get install clang-11
sudo apt-get install clang-12
- name: Time
env:
CXX: clang++-11
CXX: clang++-12
CXXFLAGS: -I ../../boost.json/include -I ../../rapidjson/include -I ../../nlohmann.json/single_include -DTIME_ONLY -DCOMPARE_WITH_BOOST_JSON -DCOMPARE_WITH_RAPIDJSON -DCOMPARE_WITH_NLOHMANN -std=c++20
run: make time

#clang-12:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v1
# - name: Checkout Boost/JSON
# uses: actions/checkout@v1
# with:
# repository: boostorg/json
# ref: master
# path: boost.json
# - name: Checkout RapidJSON
# uses: actions/checkout@v1
# with:
# repository: tencent/rapidjson
# ref: master
# path: rapidjson
# - name: Checkout nlohmann/json
# uses: actions/checkout@v1
# with:
# repository: nlohmann/json
# ref: master
# path: nlohmann.json
# - name: Compiler setup
# run: |
# sudo apt-get update
# sudo apt-get install clang-12
# - name: Time
# env:
# CXX: clang++-12
# CXXFLAGS: -I ../../boost.json/include -I ../../rapidjson/include -I ../../nlohmann.json/single_include -DTIME_ONLY -DCOMPARE_WITH_BOOST_JSON -DCOMPARE_WITH_RAPIDJSON -DCOMPARE_WITH_NLOHMANN -std=c++20
# run: make time

0 comments on commit 29df5c1

Please sign in to comment.