-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Felipe Ventura <[email protected]>
- Loading branch information
Showing
74 changed files
with
10,460 additions
and
1,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
set(CMAKE_SYSTEM_NAME Windows) | ||
|
||
set(CMAKE_SYSTEM_PROCESSOR AMD64) | ||
|
||
set(CMAKE_CROSSCOMPILING OFF) | ||
|
||
set(CMAKE_GENERATOR_PLATFORM | ||
x64 | ||
CACHE STRING "Platform" FORCE | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Question, Feature, Documentation | ||
labels: 'question' | ||
about: Ask question, request feature or documentation update | ||
--- | ||
|
||
### Thank you for taking the time to share your thoughts with us. | ||
|
||
We welcome all suggestions for new features or documentation updates | ||
helping others to make better use of this project. | ||
|
||
As with any other topic you'd like to discuss with the community, | ||
we'd primarily like to invite you to [open a discussion](https://github.com/open-quantum-safe/oqs-provider/discussions) | ||
item with your concern. | ||
|
||
If you have a bug to report please use the [Bug report template](https://github.com/open-quantum-safe/oqs-provider/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=). | ||
|
||
If you have an issue with the project that does not qualify as a bug | ||
and have already explored the code to the extent that you can make a | ||
proposal how to handle the issue, please feel free to open a | ||
"blank issue" providing all information you have already collected. | ||
|
||
Please remember to tell us which code version/branch you are using and | ||
then briefly describe the issue and proposal how to resolve it if | ||
available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Release tests | ||
|
||
on: | ||
repository_dispatch: | ||
types: [ "liboqs-release" ] | ||
|
||
# To trigger this job, generate a GitHub personal access token and run the following command: | ||
# | ||
# curl --request POST \ | ||
# --header "Accept: application/vnd.github+json" \ | ||
# --header "Authorization: Bearer YOUR_TOKEN_HERE" \ | ||
# --header "X-GitHub-Api-Version: 2022-11-28" \ | ||
# --data '{ | ||
# "event_type": "liboqs-release", | ||
# "client_payload": { | ||
# "provider_ref": "PROVIDER_BRANCH_OR_TAG_HERE", | ||
# "liboqs_ref": "LIBOQS_BRANCH_OR_TAG_HERE" | ||
# } | ||
# }' \ | ||
# https://api.github.com/repos/open-quantum-safe/oqs-provider/dispatches | ||
|
||
jobs: | ||
release-test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: openquantumsafe/ci-ubuntu-jammy:latest | ||
|
||
steps: | ||
- name: Check if requested ref exists | ||
env: | ||
provider_ref: ${{ github.event.client_payload.provider_ref }} | ||
run: | | ||
# try both branch and tag | ||
wget --quiet \ | ||
--header "Accept: application/vnd.github+json" \ | ||
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
--header "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/open-quantum-safe/oqs-provider/branches/$provider_ref || \ | ||
wget --quiet \ | ||
--header "Accept: application/vnd.github+json" \ | ||
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
--header "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/open-quantum-safe/oqs-provider/git/ref/tags/$provider_ref \ | ||
&& echo "provider_ref=$provider_ref" >> "$GITHUB_ENV" \ | ||
|| echo "provider_ref=main" >> "$GITHUB_ENV" | ||
- name: Checkout oqs-provider on requested ref if it exists; otherwise, fall back to main | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.provider_ref }} | ||
# This is designed to be triggered automatically from liboqs CI, so don't bother validating the liboqs ref. | ||
- name: Checkout liboqs at requested ref | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: open-quantum-safe/liboqs | ||
path: liboqs | ||
ref: ${{ github.event.client_payload.liboqs_ref }} | ||
- name: Run release tests | ||
run: OPENSSL_BRANCH=master ./scripts/release-test-ci.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ tmp | |
interop.log | ||
# pycache | ||
oqs-template/__pycache__ | ||
scripts/__pycache__ | ||
|
||
# Visual Studio Code | ||
.vscode | ||
|
Oops, something went wrong.