Skip to content

Commit

Permalink
fixups Enable testing in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Nov 20, 2023
1 parent 8c931ba commit ce9d4e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: Enable Developer Command Prompt
uses: ilammy/[email protected]
if: ${{ matrix.os == 'windows-2022' }}
- name: Install OpenSSL
run: powershell.exe ./.github/workflows/Install-OpenSSL.ps1
if: ${{ matrix.os == 'windows-2022' }}

- run: rebar3 as test get-deps
- run: rebar3 as test compile
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"$CFLAGS -std=c99 -O0 -g -Wall -Wextra -fPIC --coverage"},
{"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin|gnu)",
"$LDLIBS -lcrypto --coverage"},
{"win32", "CFLAGS", "$CFLAGS /O0 /DNDEBUG /Wall"},
{"win32", "CFLAGS", "$CFLAGS ${OPENSSL_INSTALL_DIR}\include /O0 /DNDEBUG /Wall"},
{"win32", "LDLIBS", "$LDLIBS libcrypto.lib"}
]
}
Expand Down

0 comments on commit ce9d4e9

Please sign in to comment.