Skip to content

Try and fix commit error. #86

Try and fix commit error.

Try and fix commit error. #86

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: garyedwardhughes/ubuntu-stddecimal
steps:
- uses: actions/checkout@v3
- name: Build Clang
run: |
ln -s /IntelRDFPMathLib20U2 ..
ln -s /IntelRDFPMathLib20U2/LIBRARY/gcc000libbid.a /IntelRDFPMathLib20U2/LIBRARY/libbid.a
LD_LIBRARY_PATH=/usr/local/lib ./build_clang.sh all test
# Make this easy to find regardless of build type which changes the path.
ln -s `find . -type f -name test_runner`
- name: test subset decimal32
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 32 general_decimal_arithmetic/test_cases/subset_arithmetic/* > subset_32_results.md
- name: test subset decimal64
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 64 general_decimal_arithmetic/test_cases/subset_arithmetic/* > subset_64_results.md
- name: test subset decimal128
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 128 general_decimal_arithmetic/test_cases/subset_arithmetic/* > subset_128_results.md
- name: test extended decimal32
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 32 general_decimal_arithmetic/test_cases/extended_arithmetic/* > extended_32_results.md
- name: test extended decimal64
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 64 general_decimal_arithmetic/test_cases/extended_arithmetic/* > extended_64_results.md
- name: test extended decimal128
run: LD_LIBRARY_PATH=/usr/local/lib ./test_runner --bits 128 general_decimal_arithmetic/test_cases/extended_arithmetic/* > extended_128_results.md
- name: Generate README.md
run: ./generate_README.sh
- name: Commit README.md
uses: EndBug/add-and-commit@v9
with:
author_name: stddecmal
author_email: stddecimal@example.com
message: "Update test results"
add: "README.md"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}