From bf0520e0c914e98f6474e9e019333980d4311dde Mon Sep 17 00:00:00 2001 From: Evgeny Karpov Date: Sat, 12 Aug 2023 17:10:01 +0200 Subject: [PATCH] Fix arm64 build CI on different branch (#5) --- .github/workflows/ci-arm64.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-arm64.yml b/.github/workflows/ci-arm64.yml index ba02586ae0370..1abf1a4c8e908 100644 --- a/.github/workflows/ci-arm64.yml +++ b/.github/workflows/ci-arm64.yml @@ -41,6 +41,8 @@ jobs: shell: cmd run: | echo on + git fetch origin ${{ github.event.repository.default_branch }} + git checkout origin/${{ github.event.repository.default_branch }} -- .github/workflows/scripts call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" arm64 set VSCMD_DEBUG=3 set PATH=%PATH%;%VCINSTALLDIR%\Tools\Llvm\ARM64\bin @@ -64,6 +66,8 @@ jobs: shell: cmd run: | echo on + git fetch origin ${{ github.event.repository.default_branch }} + git checkout origin/${{ github.event.repository.default_branch }} -- .github/workflows/scripts call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" arm64 set VSCMD_DEBUG=3 set PATH=%PATH%;%VCINSTALLDIR%\Tools\Llvm\ARM64\bin @@ -85,6 +89,8 @@ jobs: - name: Build OpenSSL on Linux AArch64 with GCC run: | + git fetch origin ${{ github.event.repository.default_branch }} + git checkout origin/${{ github.event.repository.default_branch }} -- .github/workflows/scripts ./Configure make make test