Skip to content

Commit

Permalink
Try jom on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
RyeMutt committed Jun 21, 2024
1 parent 4e59bb0 commit acc1010
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ jobs:
if: ${{ runner.os == 'Windows' }}
shell: pwsh
run: |
choco install nasm
echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: shogo82148/actions-setup-perl@v1
if: ${{ runner.os == 'Windows' }}
with:
perl-version: "5.38"
distribution: strawberry
- uses: AlchemyViewer/action-autobuild@v4
choco install -y nasm jom
echo "C:\Program Files\NASM;C:\ProgramData\chocolatey\lib\jom\tools" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
with:
addrsize: ${{ matrix.addrsize }}
build-variables-repo: alchemyviewer/build-variables
Expand Down
16 changes: 8 additions & 8 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ pushd "$OPENSSL_SOURCE_DIR"
--with-zlib-include="$(cygpath -w "$stage/packages/include/zlib")" \
--with-zlib-lib="$(cygpath -w "$stage/packages/lib/debug/zlibd.lib")"

nmake
jom

# conditionally run unit tests
if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
nmake test
fi
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
# nmake test
# fi

cp -a {libcrypto,libssl}.lib "$stage/lib/debug"

Expand All @@ -95,12 +95,12 @@ pushd "$OPENSSL_SOURCE_DIR"
--with-zlib-include="$(cygpath -w "$stage/packages/include/zlib")" \
--with-zlib-lib="$(cygpath -w "$stage/packages/lib/release/zlib.lib")"

nmake
jom

# conditionally run unit tests
if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
nmake test
fi
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
# nmake test
# fi

cp -a {libcrypto,libssl}.lib "$stage/lib/release"

Expand Down

0 comments on commit acc1010

Please sign in to comment.