Skip to content

Commit

Permalink
ci: build pipeline based on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <rohaan@redhat.com>
  • Loading branch information
rohanKanojia authored Oct 23, 2024
1 parent 0769c5e commit 4fe55f3
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#
# Copyright (c) 2019 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at:
#
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#

name: 'Build :: Windows'

on:
push:
branches:
- master
pull_request:

permissions:
contents: read

jobs:
build-windows:
name: Eclipse JKube Build on Windows
runs-on: windows-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@398bb08048482c421b1da00a58a1b472a306eb85
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
downloads.gradle.org:443
github.com:443
repo.gradle.org:443
repo.maven.apache.org:443
repo1.maven.org:443
repository.jboss.org:443
services.gradle.org:443
objects.githubusercontent.com:443
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Java 17
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0
with:
java-version: '17'
distribution: 'temurin'
- name: Build JKube
# Remove this exclusion for gradle it module once https://github.com/eclipse-jkube/jkube/issues/3406 gets fixed
run: ./mvnw.cmd -B clean install -pl -gradle-plugin/it

0 comments on commit 4fe55f3

Please sign in to comment.