-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI Cleanup #400
Closed
Closed
CI Cleanup #400
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
f08ddb9
Add BoringSSL build to main CI
bifurcation 6206cc6
Add nasm dependency
bifurcation 1de6c0e
Merge branch 'main' into boring-ci
bifurcation e73ebb2
Fix typos
bifurcation 6c0471f
CI Cleanup
bifurcation 3e42187
Make cache key consistent
bifurcation cf428c7
Make a matrix of non-clang-tidy builds
bifurcation eba1ee4
Fix validity issues in CI YAML
bifurcation 4be26c8
Comment out most of the workflow
bifurcation 02c0ea3
Reset to an earlier commit and comment things out
bifurcation cd71e79
Start preparing main matrix
bifurcation e836567
Run crypto in matrix
bifurcation 03593ba
Add interop testing and legacy build
bifurcation 364419b
Set deployment target to both off and on
bifurcation a00fbf4
Vibe check
bifurcation 1a1c542
Set a value for the latest deployment target
bifurcation 7a2d9b0
Remove the legacy macOS build
bifurcation 858198d
Add clang-tidy build and normalize build directories
bifurcation 8c9dcdc
Put build directories in temp storage
bifurcation 61f7b9a
Remove interop testing
bifurcation 799b005
Add composable build workflow
bifurcation e0865ca
Debug main_ci.yml
bifurcation 87ea34d
Merge branch 'main' into ci-cleanup
bifurcation b5fb39f
Fix typo
bifurcation 6be706a
Add action YAML
bifurcation c7aa60d
Name the file 'action.yml'
bifurcation 09adbc7
Refer to the action without .yml
bifurcation c719dd6
Move checkout to main workflow
bifurcation 3646930
Move 'env' within 'runs'
bifurcation 8c227ad
Remove 'env' from action
bifurcation 2343728
Revert action changes
bifurcation b4c334e
Really revert
bifurcation 2f73ea0
Add interop and clang-tidy builds
bifurcation d08ff13
Take off the brakes
bifurcation a7a5142
Fix broken references
bifurcation e849c30
Disable Windows build
bifurcation 54e213c
Start moving build tasks to a composite action
bifurcation 0117556
Actually use composite action
bifurcation bee7467
Understand runner.os
bifurcation 5fc6e43
Move dependencies to composite action
bifurcation 791a9ba
Action typos
bifurcation 170e453
Move cache control to action
bifurcation 07d8c0f
Typo in input name
bifurcation c2703d4
Restor other steps, now using composite action
bifurcation c760137
Re-add fetch-depth
bifurcation 48fac67
Re-enable all builds
bifurcation 0a76413
Merge branch 'main' into ci-cleanup
bifurcation 239cac6
Try to gain insight into Windows failure
bifurcation fde8f6a
Really disable non-Windows builds
bifurcation 7c859e3
Change canary value
bifurcation c0e5294
Introduce some Microsoft-specific behavior
bifurcation 6051900
Re-add some tolerance
bifurcation eec77aa
Fix Windows typo
bifurcation a8d9bfa
Skip Message Protection tests
bifurcation e395a07
Don't run spurious tests
bifurcation 8f51800
Only run interop tests when testing interop
bifurcation 8046138
Manually run tests to provide more output
bifurcation 495731a
Save the cache to speed up future builds
bifurcation 892761b
Typo
bifurcation 9c31d3a
Manually run MLSpp unit tests
bifurcation 98f1ad7
Revert to ctest; add SANITIZERS=ON
bifurcation c8271db
Re-enable interop tests
bifurcation b043ae1
Revert more changes
bifurcation 5d5b52a
Fix Windows check
bifurcation 82183b2
Remove sanitizers
bifurcation c04949f
Re-add sanitizers
bifurcation a079818
Revert "Re-add sanitizers"
bifurcation 0c3d792
Revert "Remove sanitizers"
bifurcation ff99638
Revert "Revert "Remove sanitizers""
bifurcation 03554b9
Revert "Revert "Re-add sanitizers""
bifurcation 13dca8a
Re-enable other tests
bifurcation File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,36 @@ | ||
name: Install build prerequisites | ||
|
||
inputs: | ||
cache-dir: | ||
description: Where to put vcpkg cache | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Capture vcpkg revision for use in cache key | ||
shell: bash | ||
run: | | ||
git -C vcpkg rev-parse HEAD > vcpkg_commit.txt | ||
|
||
- name: Restore cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ inputs.cache-dir }} | ||
key: v01-vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg_commit.txt', 'alternatives/*/vcpkg.json') }} | ||
restore-keys: | | ||
v01-vcpkg-${{ runner.os }} | ||
|
||
- name: Install dependencies (macOS) | ||
if: ${{ runner.os == 'macOS' }} | ||
shell: bash | ||
run: | | ||
brew install llvm pkg-config nasm | ||
ln -s "/usr/local/opt/llvm/bin/clang-format" "/usr/local/bin/clang-format" | ||
ln -s "/usr/local/opt/llvm/bin/clang-tidy" "/usr/local/bin/clang-tidy" | ||
|
||
- name: Install dependencies (Ubuntu) | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: | | ||
sudo apt-get install -y linux-headers-$(uname -r) nasm |
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might clean things up to make this the vcpkg manifest directory instead of crypto. It would make it more generic. Maybe it is a premature optimization. Just wanted to mention.