Skip to content

Commit

Permalink
Merge pull request #337 from mupq/moreci
Browse files Browse the repository at this point in the history
More CI and add excluded schemes on all platforms
  • Loading branch information
rpls authored Mar 27, 2024
2 parents 4f5b5ce + cc3481a commit 2c48508
Show file tree
Hide file tree
Showing 10 changed files with 163 additions and 9 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/cw308t-stm32f3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: cw308t-stm32f3 build
on:
push:
branches:
- master
pull_request:
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Toolchain
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All (cw308t-stm32f3)
run: make PLATFORM=cw308t-stm32f3 -j2
21 changes: 21 additions & 0 deletions .github/workflows/cw308t-stm32f415.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: cw308t-stm32f415 build
on:
push:
branches:
- master
pull_request:
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Toolchain
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All (cw308t-stm32f415)
run: make PLATFORM=cw308t-stm32f415 -j2
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: mps2-an386 build
on:
push:
branches:
- master
pull_request:
types: [review_requested]
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
Expand All @@ -16,5 +17,5 @@ jobs:
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All
run: make PLATFORM=mps2-an386 -j2
- name: Build All (mps2-an386)
run: make PLATFORM=mps2-an386 -j2
21 changes: 21 additions & 0 deletions .github/workflows/nucleo-l476rg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: nucleo-l476rg build
on:
push:
branches:
- master
pull_request:
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Toolchain
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All (nucleo-l476rg)
run: make PLATFORM=nucleo-l476rg -j2
21 changes: 21 additions & 0 deletions .github/workflows/nucleo-l4r5zi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: nucleo-l4r5zi build
on:
push:
branches:
- master
pull_request:
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Toolchain
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All (nucleo-l4r5zi)
run: make PLATFORM=nucleo-l4r5zi -j2
21 changes: 21 additions & 0 deletions .github/workflows/stm32f4discovery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: stm32f4discovery build
on:
push:
branches:
- master
pull_request:
branches: [ "master" ]
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Toolchain
uses: carlosperate/[email protected]
with:
release: 13.2.Rel1
- name: Build All (stm32f4discovery)
run: make PLATFORM=stm32f4discovery -j2
32 changes: 28 additions & 4 deletions mk/cw308t-stm32f3.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,37 @@ DEVICE=stm32f303rct7
OPENCM3_TARGET=lib/stm32/f3

EXCLUDED_SCHEMES = \
mupq/pqclean/crypto_sign/sphincs-haraka-256f% \
mupq/pqclean/crypto_sign/sphincs-shake256-256f% \
mupq/pqclean/crypto_sign/sphincs-sha256-256f% \
mupq/pqclean/crypto_sign/sphincs-shake-256f% \
mupq/pqclean/crypto_sign/sphincs-sha2-256f% \
mupq/pqclean/crypto_kem/mceliece% \
mupq/crypto_sign/falcon-1024% \
mupq/crypto_sign/falcon-512% \
mupq/crypto_sign/tuov_is% \
mupq/crypto_sign/tuov_ip% \
mupq/crypto_sign/tuov_iii% \
mupq/crypto_sign/tuov_v% \
mupq/crypto_sign/snova-43-25-16-2% \
mupq/crypto_sign/snova-61-33-16-2% \
mupq/crypto_sign/snova-25-8-16-3% \
mupq/crypto_sign/snova-60-10-16-4% \
mupq/crypto_sign/snova-66-15-16-3% \
mupq/crypto_sign/snova-49-11-16-3% \
mupq/crypto_sign/snova-28-17-16-2% \
mupq/crypto_sign/snova-37-8-16-4% \
mupq/crypto_sign/sphincs-a-sha2-256f% \
mupq/crypto_sign/sphincs-a-shake-256f% \
mupq/crypto_sign/ov-Ip% \
mupq/crypto_sign/cross-sha2-r-sdp-5-small% \
mupq/crypto_sign/cross-sha3-r-sdp-5-small% \
mupq/crypto_sign/cross-sha2-r-sdp-5-fast% \
mupq/crypto_sign/cross-sha3-r-sdp-5-fast% \
mupq/crypto_sign/meds55604% \
mupq/crypto_sign/meds41711% \
mupq/crypto_sign/meds167717% \
mupq/crypto_sign/meds134180% \
mupq/crypto_sign/mirith_hypercube_Ia% \
crypto_sign/falcon-1024% \
crypto_sign/falcon-512%
crypto_sign/falcon-512% \
crypto_sign/ov-Ip% \

include mk/opencm3.mk
4 changes: 4 additions & 0 deletions mk/cw308t-stm32f415.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ EXCLUDED_SCHEMES = \
mupq/pqclean/crypto_sign/sphincs-shake256-256f% \
mupq/pqclean/crypto_sign/sphincs-sha256-256f% \
mupq/crypto_sign/ov-Ip% \
mupq/crypto_sign/tuov_is% \
mupq/crypto_sign/tuov_ip% \
mupq/crypto_sign/tuov_iii% \
mupq/crypto_sign/tuov_v% \
crypto_sign/ov-Ip% \
mupq/crypto_sign/falcon-1024% \
mupq/crypto_sign/falcon-512% \
Expand Down
15 changes: 13 additions & 2 deletions mk/nucleo-l476rg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ OPENCM3_TARGET=lib/stm32/l4

EXCLUDED_SCHEMES = \
mupq/pqclean/crypto_kem/mceliece% \
mupq/crypto_sign/ov-Ip% \
mupq/crypto_sign/falcon-1024-tree% \
crypto_sign/ov-Ip%

mupq/crypto_sign/snova-43-25-16-2-esk% \
mupq/crypto_sign/snova-61-33-16-2-esk% \
mupq/crypto_sign/snova-60-10-16-4-esk% \
mupq/crypto_sign/snova-66-15-16-3-esk% \
mupq/crypto_sign/snova-49-11-16-3-esk% \
mupq/crypto_sign/snova-37-8-16-4-esk% \
mupq/crypto_sign/meds55604% \
mupq/crypto_sign/meds167717% \
mupq/crypto_sign/meds134180% \
mupq/crypto_sign/tuov% \
crypto_sign/ov-Ip% \

include mk/opencm3.mk
9 changes: 9 additions & 0 deletions mk/stm32f4discovery.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ EXCLUDED_SCHEMES = \
mupq/pqclean/crypto_kem/mceliece% \
mupq/crypto_sign/tuov% \
mupq/crypto_sign/ov-Ip% \
mupq/crypto_sign/snova-43-25-16-2-esk% \
mupq/crypto_sign/snova-61-33-16-2-esk% \
mupq/crypto_sign/snova-60-10-16-4-esk% \
mupq/crypto_sign/snova-66-15-16-3-esk% \
mupq/crypto_sign/snova-49-11-16-3-esk% \
mupq/crypto_sign/snova-37-8-16-4-esk% \
mupq/crypto_sign/meds55604% \
mupq/crypto_sign/meds167717% \
mupq/crypto_sign/meds134180% \
crypto_sign/ov-Ip% \
mupq/crypto_sign/falcon-1024-tree%

Expand Down

0 comments on commit 2c48508

Please sign in to comment.