Skip to content

Commit

Permalink
[ci] dir test
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkos committed May 23, 2024
1 parent 4fdd40e commit c589698
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
matrix:
CONFIGURATION:
- Debug
- Release
#- Release

TARGET_CPU:
- x86
#- x86
- amd64

LLVM_VERSION:
- llvm-3.4.2
- llvm-8.0.0
- llvm-18.1.6
#- llvm-8.0.0
#- llvm-18.1.6

env:
RELEASE: ${{ startsWith(github.ref, 'refs/tags/') && matrix.CONFIGURATION == 'Release' }}
Expand All @@ -40,8 +40,9 @@ jobs:
run: |
set CONFIGURATION=${{matrix.CONFIGURATION}}
set LLVM_VERSION=${{matrix.LLVM_VERSION}}
echo THIS_DIR=%CD%
call ci\github-actions\set-env.bat msvc17 ${{matrix.TARGET_CPU}}
call ci\github-actions\install-windows.bat
rem call ci\github-actions\install-windows.bat
git clone --branch re2s-no-abseil --depth 1 https://github.com/vovkos/re2s
git clone --depth 1 https://github.com/vovkos/axl
git clone --depth 1 https://github.com/vovkos/graco
Expand Down Expand Up @@ -107,6 +108,7 @@ jobs:
files: ${{steps.PACKAGE.outputs.DEPLOY_FILE}}

linuxBuild:
if: ${{ false }}
name: Linux Build
runs-on: ubuntu-20.04

Expand Down Expand Up @@ -255,6 +257,7 @@ jobs:
source ci/github-actions/deploy-package.sh linux-${{matrix.TARGET_CPU}}
macOsBuild:
if: ${{ false }}
name: macOS Build
runs-on: macos-11

Expand Down
4 changes: 4 additions & 0 deletions ci/github-actions/set-env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ if "%CMAKE_USE_ARCH_OPTIONS%" == "" (set CMAKE_GENERATOR=%CMAKE_GENERATOR%%CMAKE
if not "%CMAKE_USE_ARCH_OPTIONS%" == "" (set CMAKE_OPTIONS=%CMAKE_OPTIONS%%CMAKE_ARCH_OPTIONS%)
set COMPARE_VERSIONS_PL=%CD%\ci\github-actions\compare-versions.pl

echo set-env.bat: THIS_DIR-1: %CD%
echo set-env.bat: THIS: %0
echo set-env.bat: THIS_DIR-2: %~dp0

set LLVM_TOOLCHAIN=msvc17
perl %COMPARE_VERSIONS_PL% %LLVM_VERSION% 13
if %errorlevel% == -1 set LLVM_TOOLCHAIN=msvc15
Expand Down

0 comments on commit c589698

Please sign in to comment.