mirror of
https://github.com/lemire/fast_double_parser.git
synced 2025-04-03 20:04:57 +00:00
21 lines
487 B
YAML
21 lines
487 B
YAML
name: rhub
|
|
|
|
'on':
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
ubuntu-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: start docker
|
|
run: |
|
|
docker run -w /src -dit --name rhub -v $PWD:/src rhub/rocker-gcc-san
|
|
echo 'docker exec rhub "$@";' > ./rhub.sh
|
|
chmod +x ./rhub.sh
|
|
- name: build
|
|
run: |
|
|
./rhub.sh c++ tests/unit.cpp -I include
|
|
- name: test
|
|
run: |
|
|
./rhub.sh ./a.out
|