Skip to content

Commit

Permalink
ci: Add windows-32bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jan 24, 2023
1 parent 1e964da commit ac65055
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: 2.1
orbs:
win: circleci/[email protected]

executors:
linux-gcc-latest:
Expand Down Expand Up @@ -287,6 +289,38 @@ jobs:
- build_and_test
- benchmark

windows-32bit:
executor: win/server-2022
steps:
- checkout
- run:
name: "Setup environment (bash)"
shell: bash
command: |
echo 'export PATH=$PATH:"/c/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin"' >> $BASH_ENV
- run:
name: 'Configure'
shell: powershell
command: |
$ErrorActionPreference = "Stop"
& 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
which cmake
cmake -S . -B ~/build -G Ninja -DCMAKE_INSTALL_PREFIX=C:\install -DCMAKE_BUILD_TYPE=Release -DINTX_BENCHMARKING=OFF
- run:
name: 'Build'
shell: powershell
command: |
$ErrorActionPreference = "Stop"
& 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
cmake --build ~/build
- run:
name: 'Test'
shell: powershell
working_directory: ~/build
command: |
$ErrorActionPreference = "Stop"
& 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\Launch-VsDevShell.ps1' -Arch x86
ctest -j4 --output-on-failure --schedule-random
cmake-min:
docker:
Expand All @@ -312,3 +346,4 @@ workflows:
- cmake-min
- arm64
- powerpc64
- windows-32bit

0 comments on commit ac65055

Please sign in to comment.