安装 nasm #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UI Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Run Tests on ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-13, macos-latest] | |
include: | |
- os: windows-latest | |
arch: x64 | |
name: Windows x86_64 | |
- os: macos-13 | |
arch: x64 | |
name: macOS x86_64 | |
- os: macos-latest | |
arch: aarch64 | |
name: macOS aarch64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '21' | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Set execute permissions on gradlew | |
if: runner.os != 'Windows' | |
run: chmod +x ./gradlew | |
- name: Run UI tests | |
run: ./gradlew uiTest |