Skip to content

Commit

Permalink
ci/mingw: fix make retest (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Aug 27, 2022
1 parent 01b2962 commit 3dbe73b
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,19 @@ jobs:
id: openssl
with:
path: baresip-win32/openssl
key: ${{ runner.os }}-mingw-openssl-3.0.2
key: ${{ runner.os }}-mingw-openssl-3.0.5

- name: "build openssl"
if: steps.openssl.outputs.cache-hit != 'true'
run: |
wget https://www.openssl.org/source/openssl-3.0.2.tar.gz
tar -xzf openssl-3.0.2.tar.gz
mv openssl-3.0.2 baresip-win32/openssl
wget https://www.openssl.org/source/openssl-3.0.5.tar.gz
tar -xzf openssl-3.0.5.tar.gz
mv openssl-3.0.5 baresip-win32/openssl
make -j$(nproc) -C baresip-win32 openssl
- name: "build"
run: |
cd baresip-win32/retest && \
cmake -B build -DCMAKE_TOOLCHAIN_FILE=../re/cmake/mingw.cmake && \
cmake --build build -j
cd baresip-win32 && make retest
- uses: actions/upload-artifact@v2
with:
Expand All @@ -66,11 +64,8 @@ jobs:
needs: MinGW-w64-build

steps:
- uses: actions/download-artifact@v2
- uses: actions/checkout@v2
with:
path: baresip

- uses: actions/download-artifact@v2
- uses: sreimers/[email protected]
with:
name: retest
Expand Down

0 comments on commit 3dbe73b

Please sign in to comment.