disable fail-fast, nodejs ≥10 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Euler Regression Check | |
on: push | |
jobs: | |
# python-lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# | |
# - name: Use Python 3.12 | |
# uses: actions/setup-python@v5 | |
# with: | |
# python-version: 3.12 | |
# cache: 'pip' | |
# cache-dependency-path: | | |
# python/requirements.txt | |
# c/requirements.txt | |
# | |
# - name: Lint | |
# run: make pytest LINT=only | |
python: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-latest, windows-latest] | |
exclude: | |
- os: ubuntu-latest | |
version: 3.6 | |
- os: macos-13 | |
version: 3.11 | |
- os: macos-13 | |
version: 3.12 | |
include: | |
- os: ubuntu-20.04 | |
version: 3.6 | |
- os: macos-latest | |
version: 3.11 | |
- os: macos-latest | |
version: 3.12 | |
- os: ubuntu-latest | |
version: graalpy-23.1 | |
- os: macos-latest | |
version: 3.12 | |
- os: macos-13 | |
version: 3.12 | |
- os: ubuntu-latest | |
version: graalpy-24.0 | |
- os: ubuntu-latest | |
version: pypy3.8 | |
- os: ubuntu-latest | |
version: pypy3.9 | |
- os: ubuntu-latest | |
version: pypy3.10 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Python ${{ matrix.version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.version }} | |
cache: 'pip' | |
cache-dependency-path: | | |
python/requirements.txt | |
c/requirements.txt | |
- name: Run tests | |
run: make pytest LINT=false | |
javascript-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
cache-dependency-path: 'javascript/package-lock.json' | |
- name: Fetch ESLint | |
run: make jsdependencies; npm install eslint-config-google@latest eslint@>=5.16.0 | |
- name: Lint | |
run: make jslint | |
javascript: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
exclude: | |
- os: macos-latest | |
version: 11 | |
- os: macos-latest | |
version: 12 | |
- os: macos-latest | |
version: 13 | |
- os: macos-latest | |
version: 14 | |
- os: macos-latest | |
version: 15 | |
include: | |
- os: macos-13 | |
version: 11 | |
- os: macos-13 | |
version: 12 | |
- os: macos-13 | |
version: 13 | |
- os: macos-13 | |
version: 14 | |
- os: macos-13 | |
version: 15 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.version }} | |
cache: 'npm' | |
cache-dependency-path: 'javascript/package-lock.json' | |
- name: Install dependencies | |
run: make jsdependencies | |
- name: Run tests | |
run: make jstest | |
# c-lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# | |
# - name: Setup clang-tidy | |
# run: sudo apt-get install -y clang-tidy | |
# | |
# - name: Run tests | |
# run: make clint | |
c: | |
strategy: | |
fail-fast: false | |
matrix: | |
# compiler: ["llvm", "gcc"] | |
# # compiler targets (ideally): clang, gcc, MSVCC, pcc, tcc, icc, | |
os: [ubuntu-latest, windows-latest, macos-latest, macos-13] | |
# include: | |
# - os: windows-latest | |
# compiler: msvc | |
# - os: windows-latest | |
# compiler: mingw | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache-dependency-path: c/requirements.txt | |
# - name: Setup Cpp ${{ matrix.compiler }} | |
# uses: aminya/setup-cpp@v1 | |
# if: ${{ contains(matrix.compiler, fromJSON('["llvm", "gcc", "msvc"]')) }} | |
# with: | |
# compiler: ${{ matrix.compiler }} | |
# - name: Set up MinGW | |
# uses: egor-tensin/setup-mingw@v2 | |
# if: ${{ matrix.compiler == 'mingw' }} | |
# with: | |
# platform: x64 | |
- name: Run tests (windows + linux) | |
if: ${{ !contains(matrix.os, 'macos') }} | |
run: make ctest | |
- name: Run tests (macos) | |
if: ${{ contains(matrix.os, 'macos') }} | |
run: make ctest | |
env: | |
NO_OPTIONAL_TESTS: true | |
COMPILER_OVERRIDE: clang | |
csharp: | |
strategy: | |
fail-fast: false | |
matrix: | |
net_version: [5, 6, 7, 8] | |
os: [ubuntu-latest, windows-latest] | |
include: | |
- net_version: 8 | |
os: macos-latest | |
- net_version: 8 | |
os: macos-13 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET ${{ matrix.net_version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.net_version }} | |
cache: true | |
cache-dependency-path: 'csharp/*/packages.lock.json' | |
- name: Dependencies | |
run: make csdependencies | |
- name: Run Tests | |
run: make cstest | |
csharp-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8 | |
cache: true | |
cache-dependency-path: 'csharp/*/packages.lock.json' | |
- name: Run Linter | |
run: make cslint | |