Skip to content

Commit 61fc3a2

Browse files
committed
ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions
1 parent d51fb0a commit 61fc3a2

File tree

2 files changed

+46
-16
lines changed

2 files changed

+46
-16
lines changed

.cirrus.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,6 @@ linux_container_snippet: &LINUX_CONTAINER
6464
# More than enough for our scripts.
6565
memory: 2G
6666

67-
task:
68-
name: "C++ -fpermissive (entire project)"
69-
<< : *LINUX_CONTAINER
70-
env:
71-
CC: g++
72-
CFLAGS: -fpermissive -g
73-
CPPFLAGS: -DSECP256K1_CPLUSPLUS_TEST_OVERRIDE
74-
WERROR_CFLAGS:
75-
ECDH: yes
76-
RECOVERY: yes
77-
SCHNORRSIG: yes
78-
ELLSWIFT: yes
79-
test_script:
80-
- ./ci/ci.sh
81-
<< : *CAT_LOGS
82-
8367
task:
8468
name: "C++ (public headers)"
8569
<< : *LINUX_CONTAINER

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,52 @@ jobs:
722722
run: |
723723
cl.exe -c -WX -TP include/*.h
724724
725+
cxx_fpermissive_debian:
726+
name: "C++ -fpermissive (entire project)"
727+
runs-on: ubuntu-latest
728+
needs: docker_cache
729+
730+
env:
731+
CC: 'g++'
732+
CFLAGS: '-fpermissive -g'
733+
CPPFLAGS: '-DSECP256K1_CPLUSPLUS_TEST_OVERRIDE'
734+
WERROR_CFLAGS:
735+
ECDH: 'yes'
736+
RECOVERY: 'yes'
737+
SCHNORRSIG: 'yes'
738+
ELLSWIFT: 'yes'
739+
740+
steps:
741+
- name: Checkout
742+
uses: actions/checkout@v3
743+
744+
- name: CI script
745+
uses: ./.github/actions/run-in-docker-action
746+
with:
747+
dockerfile: ./ci/linux-debian.Dockerfile
748+
tag: linux-debian-image
749+
command: >
750+
git config --global --add safe.directory ${{ github.workspace }} &&
751+
./ci/ci.sh
752+
753+
- run: cat tests.log || true
754+
if: ${{ always() }}
755+
- run: cat noverify_tests.log || true
756+
if: ${{ always() }}
757+
- run: cat exhaustive_tests.log || true
758+
if: ${{ always() }}
759+
- run: cat ctime_tests.log || true
760+
if: ${{ always() }}
761+
- run: cat bench.log || true
762+
if: ${{ always() }}
763+
- run: cat config.log || true
764+
if: ${{ always() }}
765+
- run: cat test_env.log || true
766+
if: ${{ always() }}
767+
- name: CI env
768+
run: env
769+
if: ${{ always() }}
770+
725771
sage:
726772
name: "SageMath prover"
727773
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)