Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
a-n-t-h-o-n-y committed Jun 15, 2023
1 parent c42fe8c commit e92030d
Showing 1 changed file with 188 additions and 138 deletions.
326 changes: 188 additions & 138 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,148 +1,198 @@
name: build

on:
push:
branches: [ main ]
push:
branches: [main]

jobs:
# Ubuntu-20 GCC
build-ubuntu20-gcc10:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- env:
CC: gcc-10
CXX: g++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-gcc9:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- env:
CC: gcc-9
CXX: g++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-22 GCC
build-ubuntu22-gcc12:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-12
CXX: g++-12
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu22-gcc11:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-11
CXX: g++-11
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu22-gcc10:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-10
CXX: g++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu22-gcc9:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-9
CXX: g++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-20 Clang
build-ubuntu20-clang12:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- env:
CC: clang-12
CXX: clang++-12
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-clang11:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- env:
CC: clang-11
CXX: clang++-11
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-clang10:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- env:
CC: clang-10
CXX: clang++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-22 Clang
build-ubuntu22-clang14:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-14
CXX: clang++-14
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu22-clang13:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-13
CXX: clang++-13
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu22-clang12:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-12
CXX: clang++-12
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-18 GCC
build-ubuntu18-gcc10:
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
- env:
CC: gcc-10
CXX: g++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu18-gcc9:
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
- env:
CC: gcc-9
CXX: g++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu18-gcc7:
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
- env:
CC: gcc-7
CXX: g++-7
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-20 GCC
build-ubuntu20-gcc10:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-10
CXX: g++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-gcc9:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-9
CXX: g++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-18 Clang
build-ubuntu18-clang9:
runs-on: ubuntu-18.04
steps:
- uses: actions/[email protected]
- env:
CC: clang-9
CXX: clang++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
# Ubuntu-20 Clang
build-ubuntu20-clang12:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-12
CXX: clang++-12
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-clang11:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-11
CXX: clang++-11
run: |
mkdir build && cd build
cmake .. && make termcaps
build-ubuntu20-clang10:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang-10
CXX: clang++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
# MacOS-10.15 Clang
build-MacOS10-clang12:
runs-on: macos-10.15
steps:
- uses: actions/[email protected]
- env:
CC: clang
CXX: clang++
run: |
mkdir build && cd build
cmake .. && make termcaps
# MacOS-12 Clang
build-MacOS12-clang14:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: clang
CXX: clang++
run: |
mkdir build && cd build
cmake .. && make termcaps
# MacOS-10.15 GCC
build-MacOS10-gcc11:
runs-on: macos-10.15
steps:
- uses: actions/[email protected]
- env:
CC: gcc-11
CXX: g++-11
run: |
mkdir build && cd build
cmake .. && make termcaps
build-MacOS10-gcc10:
runs-on: macos-10.15
steps:
- uses: actions/[email protected]
- env:
CC: gcc-10
CXX: g++-10
run: |
mkdir build && cd build
cmake .. && make termcaps
build-MacOS10-gcc9:
runs-on: macos-10.15
steps:
- uses: actions/[email protected]
- env:
CC: gcc-9
CXX: g++-9
run: |
mkdir build && cd build
cmake .. && make termcaps
# MacOS-12 GCC
build-MacOS12-gcc12:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-12
CXX: g++-12
run: |
mkdir build && cd build
cmake .. && make termcaps
build-MacOS12-gcc11:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- env:
CC: gcc-11
CXX: g++-11
run: |
mkdir build && cd build
cmake .. && make termcaps

0 comments on commit e92030d

Please sign in to comment.