mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
20 lines
479 B
YAML
20 lines
479 B
YAML
name: Ubuntu 20.04 CI (C++20)
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use cmake
|
|
run: |
|
|
mkdir build &&
|
|
cd build &&
|
|
cmake -DCMAKE_CXX_STANDARD=20 -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. &&
|
|
cmake --build . &&
|
|
ctest --output-on-failure &&
|
|
cmake --install .
|