Skip to content

Commit

Permalink
Add windows for circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Nov 21, 2023
1 parent e3f6cb2 commit b962797
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
version: 2.1

orbs:
win: circleci/[email protected]

workflows:
build-workflow:
jobs:
- build-x86_64
- build-aarch64
- build-windows

jobs:
build-aarch64:
build-x86_64:
machine:
image: ubuntu-2004:202101-01
resource_class: arm.medium
docker_layer_caching: true
steps:
- run:
name: Check OS
Expand All @@ -22,10 +32,10 @@ jobs:
- store_artifacts:
path: build/docker

build-x86_64:
build-aarch64:
machine:
image: ubuntu-2004:202101-01
docker_layer_caching: true
resource_class: arm.medium
steps:
- run:
name: Check OS
Expand All @@ -43,8 +53,18 @@ jobs:
- store_artifacts:
path: build/docker

workflows:
build-workflow:
jobs:
- build-x86_64
- build-aarch64
build-windows:
executor:
name: win/default
shell: powershell.exe
steps:

- checkout
- run:
name: Build on windows
command: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_BUILD_WERROR=OFF
cmake --build build --config Release
- store_artifacts:
path: build/bin/release

0 comments on commit b962797

Please sign in to comment.