Skip to content

Commit

Permalink
ci: create windows-win64 package
Browse files Browse the repository at this point in the history
  • Loading branch information
erhankur committed Jul 23, 2024
1 parent d1b34a4 commit 31c4e8b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ variables:
- job: build_linux_armhf
- job: build_linux_armel
- job: build_linux_arm64
- job: build_windows
- job: build_windows_win32
- job: build_windows_win64
- job: macos_codesign

.release_submit_action: &release_submit_action
Expand Down
15 changes: 12 additions & 3 deletions .gitlab/ci/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ build_linux_arm64:
PLATFORM_NAME: "linux-arm64"
TEST_CFLAGS: ""

build_windows:
.build_windows_template: &build_windows_template
stage: build_openocd
image: $CI_DOCKER_REGISTRY/esp32-toolchain-win-cross
tags:
Expand All @@ -254,10 +254,9 @@ build_windows:
- ${DIST_ART_DIR}
expire_in: 2 weeks
variables:
CONF_HOST: "i686-w64-mingw32"
PLATFORM_NAME: "win32"
ARCHIVE_TOOL: "zip -r"
ARCHIVE_EXT: "zip"
CONF_HOST: "i686-w64-mingw32"
INSTALL_TARGET: "install-strip"
HOST_CC: ${CONF_HOST}-gcc
needs:
Expand All @@ -278,6 +277,16 @@ build_windows:
- *copy_stub_bins
- *dist_archive

build_windows_win32:
extends: .build_windows_template
variables:
PLATFORM_NAME: "win32"

build_windows_win64:
extends: .build_windows_template
variables:
PLATFORM_NAME: "win64"

build_macos:
<<: *build_macos_template
variables:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/ci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ test_on_windows:
tags:
- test_jtag_win
needs:
- job: build_windows
- job: build_windows_win32
variables:
# actually we don't need the project sources, but we need the `git clean` gitlab-runner's stage.
# It's possible only for `fetch` or `clone`.
Expand Down

0 comments on commit 31c4e8b

Please sign in to comment.