Skip to content

Commit

Permalink
ci: add windows codebuild job
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronZyLee committed Jul 19, 2023
1 parent 95139d8 commit b98d9bc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .codebuild/build_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 0.2
env:
shell: powershell.exe
phases:
build:
commands:
- yarn run production-build
- yarn build-tests

artifacts:
files:
- 'shared-scripts.sh'
6 changes: 6 additions & 0 deletions .codebuild/e2e_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ batch:
buildspec: .codebuild/build_linux.yml
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_windows
buildspec: .codebuild/build_windows.yml
env:
type: WINDOWS_SERVER_2019_CONTAINER
compute-type: BUILD_GENERAL1_LARGE
image: $WINDOWS_IMAGE_2019
- identifier: test
buildspec: .codebuild/test.yml
env:
Expand Down
6 changes: 6 additions & 0 deletions .codebuild/pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ batch:
build-graph:
- identifier: build_linux
buildspec: .codebuild/build_linux.yml
- identifier: build_windows
buildspec: .codebuild/build_windows.yml
env:
type: WINDOWS_SERVER_2019_CONTAINER
compute-type: BUILD_GENERAL1_LARGE
image: $WINDOWS_IMAGE_2019
- identifier: test
buildspec: .codebuild/test.yml
depend-on:
Expand Down
7 changes: 7 additions & 0 deletions .codebuild/release_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ batch:
build-graph:
- identifier: build_linux
buildspec: .codebuild/build_linux.yml
- identifier: build_windows
buildspec: .codebuild/build_windows.yml
env:
type: WINDOWS_SERVER_2019_CONTAINER
compute-type: BUILD_GENERAL1_LARGE
image: $WINDOWS_IMAGE_2019
- identifier: test
buildspec: .codebuild/test.yml
depend-on:
Expand All @@ -24,3 +30,4 @@ batch:
buildspec: .codebuild/deploy.yml
depend-on:
- test
- build-windows

0 comments on commit b98d9bc

Please sign in to comment.