Skip to content

fix: make stringToLongLong refuse empty string #199

fix: make stringToLongLong refuse empty string

fix: make stringToLongLong refuse empty string #199

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- 'docs/**'
- 'LICENSE'
- 'read.me'
- 'README.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'LICENSE'
- 'read.me'
- 'README.md'
env:
TEST_REF_FORBID_GEN_REFS: true
jobs:
tests-ubuntu1804-gpp:
if: false # Disabled job
strategy:
matrix:
os: [ubuntu-18.04]
compiler: [g++]
version: [7, 9, 10]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
tests-ubuntu1804-clang:
if: false # Disabled job
strategy:
matrix:
os: [ubuntu-18.04]
compiler: [clang++]
version: [9]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
tests-ubuntu2204-gpp:
strategy:
matrix:
os: [ubuntu-22.04]
compiler: [g++]
version: [9, 10, 11]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
tests-ubuntu2204-clang:
strategy:
matrix:
os: [ubuntu-22.04]
compiler: [clang++]
version: [12, 13, 14]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
tests-ubuntu1804-gpp-32:
if: false # Disabled job
strategy:
matrix:
os: [ubuntu-18.04]
compiler: [g++]
version: [7, 9, 10]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
tests-ubuntu1804-clang-32:
if: false # Disabled job
strategy:
matrix:
os: [ubuntu-18.04]
compiler: [clang++]
version: [9]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
sudo apt-get install gcc-multilib g++-multilib
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
tests-ubuntu2204-gpp-32:
strategy:
matrix:
os: [ubuntu-22.04]
compiler: [g++]
version: [9, 10, 11]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
sudo apt-get install gcc-${{ matrix.version }}-multilib g++-${{ matrix.version }}-multilib
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
tests-ubuntu2204-clang-32:
strategy:
matrix:
os: [ubuntu-22.04]
compiler: [clang++]
version: [12, 13, 14]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} -m32 on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
sudo apt-get install gcc-multilib g++-multilib
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }} 32
tests-macos11-gpp:
strategy:
matrix:
os: [macos-11]
compiler: [g++]
version: [10, 11, 12]
name: Use ${{ matrix.compiler }}-${{ matrix.version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }} v${{ matrix.version }}
tests-macos11-clang:
strategy:
matrix:
os: [macos-11]
compiler: [clang++]
name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }}
tests-macos12-gpp:
strategy:
matrix:
os: [macos-12]
compiler: [g++]
name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }}
tests-macos12-clang:
strategy:
matrix:
os: [macos-12]
compiler: [clang++]
version: [12, 13, 14]
name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }}
tests-windows-2019:
strategy:
matrix:
os: [windows-2019]
compiler: [msvc, g++, clang++]
name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }}
tests-windows-2022:
strategy:
matrix:
os: [windows-2022]
compiler: [msvc, g++]
name: Use ${{ matrix.compiler }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
cd tests
bash ./run.sh ${{ matrix.compiler }}