ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions
This commit is contained in:
parent
d51fb0a533
commit
61fc3a2dc8
16
.cirrus.yml
16
.cirrus.yml
@ -64,22 +64,6 @@ linux_container_snippet: &LINUX_CONTAINER
|
|||||||
# More than enough for our scripts.
|
# More than enough for our scripts.
|
||||||
memory: 2G
|
memory: 2G
|
||||||
|
|
||||||
task:
|
|
||||||
name: "C++ -fpermissive (entire project)"
|
|
||||||
<< : *LINUX_CONTAINER
|
|
||||||
env:
|
|
||||||
CC: g++
|
|
||||||
CFLAGS: -fpermissive -g
|
|
||||||
CPPFLAGS: -DSECP256K1_CPLUSPLUS_TEST_OVERRIDE
|
|
||||||
WERROR_CFLAGS:
|
|
||||||
ECDH: yes
|
|
||||||
RECOVERY: yes
|
|
||||||
SCHNORRSIG: yes
|
|
||||||
ELLSWIFT: yes
|
|
||||||
test_script:
|
|
||||||
- ./ci/ci.sh
|
|
||||||
<< : *CAT_LOGS
|
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: "C++ (public headers)"
|
name: "C++ (public headers)"
|
||||||
<< : *LINUX_CONTAINER
|
<< : *LINUX_CONTAINER
|
||||||
|
46
.github/workflows/ci.yml
vendored
46
.github/workflows/ci.yml
vendored
@ -722,6 +722,52 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cl.exe -c -WX -TP include/*.h
|
cl.exe -c -WX -TP include/*.h
|
||||||
|
|
||||||
|
cxx_fpermissive_debian:
|
||||||
|
name: "C++ -fpermissive (entire project)"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: docker_cache
|
||||||
|
|
||||||
|
env:
|
||||||
|
CC: 'g++'
|
||||||
|
CFLAGS: '-fpermissive -g'
|
||||||
|
CPPFLAGS: '-DSECP256K1_CPLUSPLUS_TEST_OVERRIDE'
|
||||||
|
WERROR_CFLAGS:
|
||||||
|
ECDH: 'yes'
|
||||||
|
RECOVERY: 'yes'
|
||||||
|
SCHNORRSIG: 'yes'
|
||||||
|
ELLSWIFT: 'yes'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: CI script
|
||||||
|
uses: ./.github/actions/run-in-docker-action
|
||||||
|
with:
|
||||||
|
dockerfile: ./ci/linux-debian.Dockerfile
|
||||||
|
tag: linux-debian-image
|
||||||
|
command: >
|
||||||
|
git config --global --add safe.directory ${{ github.workspace }} &&
|
||||||
|
./ci/ci.sh
|
||||||
|
|
||||||
|
- run: cat tests.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat noverify_tests.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat exhaustive_tests.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat ctime_tests.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat bench.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat config.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- run: cat test_env.log || true
|
||||||
|
if: ${{ always() }}
|
||||||
|
- name: CI env
|
||||||
|
run: env
|
||||||
|
if: ${{ always() }}
|
||||||
|
|
||||||
sage:
|
sage:
|
||||||
name: "SageMath prover"
|
name: "SageMath prover"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user