Skip to content

Commit

Permalink
feat: ci add window and mac
Browse files Browse the repository at this point in the history
Signed-off-by: grapebaba <281165273@qq.com>
  • Loading branch information
GrapeBaBa committed May 3, 2023
1 parent 807c398 commit d62cfdf
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,49 @@ on:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
macos:
name: macOS
runs-on: [ macos-latest ]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.2

- name: Execute Gradle build
run: ./gradlew build

windows:
name: windows
runs-on: [ windows-latest ]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.2

- name: Execute Gradle build
run: ./gradlew build

linux:
name: linux
runs-on: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit d62cfdf

Please sign in to comment.