Skip to content

Commit bfbae21

Browse files
Fix openssl issues in windows builds
1 parent e32a21d commit bfbae21

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
with:
6565
command: clippy
6666
args: -- -A clippy::upper_case_acronyms -D warnings
67+
6768
fmt_and_clippy_windows:
6869
name: Cargo Fmt and Clippy - Windows
6970
runs-on: windows-latest
@@ -118,6 +119,7 @@ jobs:
118119
id: unittests
119120
run: |
120121
awx --conf.token ${{ steps.login.outputs.awx_token }} --conf.host ${{ env.AWX_HOST }} job_templates launch --extra_vars="{\"github_repository\":\"${GITHUB_REPOSITORY}\",\"github_actor\":\"${GITHUB_ACTOR}\",\"github_workflow\":\"${GITHUB_WORKFLOW}\",\"github_workspace\":\"${GITHUB_WORKSPACE}\",\"github_event_name\":\"${GITHUB_EVENT_NAME}\",\"github_event_path\":\"${GITHUB_EVENT_PATH}\",\"github_sha\":\"${GITHUB_SHA}\",\"github_ref\":\"${GITHUB_REF}\",\"github_head_ref\":\"${GITHUB_HEAD_REF}\",\"github_base_ref\":\"${GITHUB_BASE_REF}\",\"github_server_url\":\"${GITHUB_SERVER_URL}\"}" 14 --monitor
122+
121123
build_linux_x86_64:
122124
name: Build on GNU/Linux x86_64 (Bare metal worker)
123125
runs-on: ubuntu-latest
@@ -154,12 +156,17 @@ jobs:
154156
id: promtest
155157
run: |
156158
awx --conf.token ${{ steps.login.outputs.awx_token }} --conf.host ${{ env.AWX_HOST }} job_templates launch --extra_vars="{\"github_repository\":\"${GITHUB_REPOSITORY}\",\"github_actor\":\"${GITHUB_ACTOR}\",\"github_workflow\":\"${GITHUB_WORKFLOW}\",\"github_workspace\":\"${GITHUB_WORKSPACE}\",\"github_event_name\":\"${GITHUB_EVENT_NAME}\",\"github_event_path\":\"${GITHUB_EVENT_PATH}\",\"github_sha\":\"${GITHUB_SHA}\",\"github_ref\":\"${GITHUB_REF}\",\"github_head_ref\":\"${GITHUB_HEAD_REF}\",\"github_base_ref\":\"${GITHUB_BASE_REF}\",\"github_server_url\":\"${GITHUB_SERVER_URL}\"}" 16 --monitor
159+
157160
test_windows_x86_64:
158161
name: Test on Windows x86_64 (Virtual machine worker)
159-
runs-on: "windows-2019"
162+
runs-on: "windows-latest"
160163
steps:
161164
- name: Checkout
162165
uses: actions/checkout@v3
166+
- name: Install openssl for Windows with vcpkg
167+
run: |
168+
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
169+
vcpkg install openssl:x64-windows-static-md
163170
- name: Install Rustup
164171
uses: crazy-max/ghaction-chocolatey@v2
165172
with:

0 commit comments

Comments
 (0)