-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This pull request adds support for OpenBSD [7.4](https://www.openbsd.org/plus74.html) and [7.5](https://www.openbsd.org/plus75.html) releases. OpenBSD has a release cadence similar to Go: > When a critical bug is found, the fix will be committed to the -current tree (and made available in [snapshot builds](https://www.openbsd.org/faq/faq5.html#Flavors)) as soon as possible. It will then be backported to the two most recent OpenBSD releases in the form of [errata](https://www.openbsd.org/errata.html) and details will be sent to the [announce](https://lists.openbsd.org/cgi-bin/mj_wwwusr?func=lists-long-full&extra=announce) mailing list. See https://www.openbsd.org/faq/faq10.html#Patches By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
Showing
88 changed files
with
3,956 additions
and
3,508 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 |
---|---|---|
|
@@ -262,6 +262,62 @@ jobs: | |
- name: Run tests | ||
run: cmake --build ./build --target run_tests | ||
|
||
OpenBSD-x86-64: | ||
needs: [sanity-test-run] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
args: ["", "-f"] | ||
version: ["7.4", "7.5"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: OpenBSD | ||
uses: cross-platform-actions/[email protected] | ||
env: | ||
AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS: 5 | ||
AWS_LC_GO_TEST_TIMEOUT: 120m | ||
with: | ||
environment_variables: AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS AWS_LC_GO_TEST_TIMEOUT | ||
operating_system: openbsd | ||
cpu_count: 4 | ||
memory: 16G | ||
architecture: x86-64 | ||
version: '7.4' | ||
shell: bash | ||
run: | | ||
set -x | ||
sudo pkg_add cmake ninja go gmake | ||
sudo pfctl -d | ||
mkdir "${HOME}/bin" | ||
ln -s /usr/local/bin/gmake "${HOME}/bin/make" | ||
cat << EOF | sudo tee /etc/login.conf.d/unlimited | ||
unlimited:\ | ||
:datasize-cur=infinity:\ | ||
:datasize-max=infinity:\ | ||
:stacksize-cur=infinity:\ | ||
:stacksize-max=infinity:\ | ||
:memoryuse-cur=infinity:\ | ||
:memoryuse-max=infinity:\ | ||
:maxproc-cur=infinity:\ | ||
:maxproc-max=infinity:\ | ||
:openfiles-cur=infinity:\ | ||
:openfiles-max=infinity:\ | ||
:cpuuse-cur=infinity:\ | ||
:cpuuse-max=infinity:\ | ||
:priority=0:\ | ||
:ignoretime: | ||
EOF | ||
sudo usermod -L unlimited runner | ||
sudo su -c unlimited -s /usr/local/bin/bash -l runner <<EOF | ||
set -x | ||
export AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS=${AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS} | ||
export AWS_LC_GO_TEST_TIMEOUT=${AWS_LC_GO_TEST_TIMEOUT} | ||
cd $(pwd) | ||
export PATH="${HOME}/bin:${PATH}" | ||
env | ||
tests/ci/run_openbsd_tests.sh ${{ matrix.args }} | ||
EOF | ||
# TODO: Investigate sudden hanging tests and failures in GHA runners (P114059413) | ||
# MSVC-SDE-32-bit: | ||
# needs: [sanity-test-run] | ||
|
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
if(WIN32 OR UNIX OR APPLE) | ||
if(WIN32 OR UNIX) | ||
find_package(Threads REQUIRED) | ||
endif() | ||
|
||
|
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
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
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
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
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
Oops, something went wrong.