mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 04:06:52 +07:00
29 lines
1010 B
YAML
29 lines
1010 B
YAML
name: linux
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{matrix.config.os}}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
config:
|
|
# https://github.com/actions/virtual-environments/tree/main/images/linux
|
|
- { os: "ubuntu-20.04", cc: "gcc-7", cxx: "g++-7" }
|
|
- { os: "ubuntu-20.04", cc: "gcc-8", cxx: "g++-8" }
|
|
- { os: "ubuntu-20.04", cc: "gcc-9", cxx: "g++-9" }
|
|
- { os: "ubuntu-20.04", cc: "gcc-10", cxx: "g++-10" }
|
|
- { os: "ubuntu-20.04", cc: "clang-8", cxx: "clang++-8" }
|
|
- { os: "ubuntu-20.04", cc: "clang-9", cxx: "clang++-9" }
|
|
- { os: "ubuntu-20.04", cc: "clang-10", cxx: "clang++-10" }
|
|
name: "${{matrix.config.cxx}}"
|
|
steps:
|
|
- name: Setup
|
|
run: sudo apt-get -y install "${{matrix.config.cc}}" "${{matrix.config.cxx}}"
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Build && Test
|
|
run: .ci/build_linux.sh
|
|
env: { CC: "${{matrix.config.cc}}", CXX: "${{matrix.config.cxx}}" }
|