forked from google/boringssl
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop CircleCI and switch to GitHub Actions (#120)
Signed-off-by: PI <[email protected]>
- Loading branch information
Showing
7 changed files
with
110 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
Thank you for contributing to OQS-BoringSSL! Before submitting your pull request, please ensure the following: | ||
|
||
1. Your changes include new tests or modifications to existing tests as needed. | ||
|
||
2. You have tested the changes in a clean build environment. | ||
|
||
3. Your changes do not break the build for projects (i.e., [NGINX-QUIC](https://github.com/open-quantum-safe/oqs-demos/blob/main/nginx/Dockerfile-QUIC), [cURL-QUIC](https://github.com/open-quantum-safe/oqs-demos/blob/main/curl/Dockerfile-QUIC), and [Chromium](https://github.com/open-quantum-safe/oqs-demos/tree/main/chromium)) that depend on OQS-BoringSSL. |
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,49 @@ | ||
name: OQS-BoringSSL (Shared) | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '**.md' | ||
- 'oqs_template/**' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- 'oqs_template/**' | ||
schedule: | ||
- cron: '2 7 18,28 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-shared: | ||
name: Build Shared | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 'stable' | ||
- name: Install all dependencies | ||
run: sudo apt update && sudo apt install cmake gcc ninja-build libunwind-dev pkg-config python3 -y | ||
- name: Download and configure liboqs | ||
run: | | ||
git clone --branch main --single-branch --depth 1 https://github.com/open-quantum-safe/liboqs.git | ||
cd liboqs && mkdir build && cd build && cmake -G"Ninja" -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=../../oqs -DOQS_USE_OPENSSL=OFF .. | ||
shell: bash | ||
- name: Build and install liboqs | ||
working-directory: ./liboqs/build | ||
run: ninja && ninja install | ||
shell: bash | ||
- name: Configure OQS-BoringSSL | ||
run: mkdir build && cd build && cmake -GNinja -DBUILD_SHARED_LIBS=1 -DLIBOQS_SHARED=1 .. | ||
shell: bash | ||
- name: Build OQS-BoringSSL | ||
working-directory: ./build | ||
run: ninja | ||
shell: bash | ||
- name: Run tests | ||
working-directory: ./build | ||
run: ninja run_tests && cd .. && python3 oqs_scripts/try_handshake.py | ||
shell: bash |
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,49 @@ | ||
name: OQS-BoringSSL (Static) | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '**.md' | ||
- 'oqs_template/**' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- 'oqs_template/**' | ||
schedule: | ||
- cron: '2 7 18,28 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-static: | ||
name: Build Static | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 'stable' | ||
- name: Install all dependencies | ||
run: sudo apt update && sudo apt install cmake gcc ninja-build libunwind-dev pkg-config python3 -y | ||
- name: Download and configure liboqs | ||
run: | | ||
git clone --branch main --single-branch --depth 1 https://github.com/open-quantum-safe/liboqs.git | ||
cd liboqs && mkdir build && cd build && cmake -G"Ninja" -DCMAKE_INSTALL_PREFIX=../../oqs -DOQS_USE_OPENSSL=OFF .. | ||
shell: bash | ||
- name: Build and install liboqs | ||
working-directory: ./liboqs/build | ||
run: ninja && ninja install | ||
shell: bash | ||
- name: Configure OQS-BoringSSL | ||
run: mkdir build && cd build && cmake -GNinja .. | ||
shell: bash | ||
- name: Build OQS-BoringSSL | ||
working-directory: ./build | ||
run: ninja | ||
shell: bash | ||
- name: Run tests | ||
working-directory: ./build | ||
run: ninja run_tests && cd .. && python3 oqs_scripts/try_handshake.py | ||
shell: bash |
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