Skip to content

bump to v29.0.0-rc.12 #52

bump to v29.0.0-rc.12

bump to v29.0.0-rc.12 #52

Workflow file for this run

name: pr
on:
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changed-files:
name: changed-files
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changed-files-yaml.outputs.src_any_changed }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- id: changed-files-yaml
uses: tj-actions/changed-files@v44
with:
files_yaml: |
src:
- src/AUTD3Sharp.csproj
- src/AUTD3Sharp.nuspec
- '**/*.cs'
- unity/Assets/package.json
test:
needs: changed-files
if: ${{ needs.changed-files.outputs.src == 'true' }}
name: test-on-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/setup-build
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
os: ${{ matrix.os }}
- run: python3 build.py cs build
- run: python3 build.py cs test
all-tests-passed:
if: ${{ always() }}
name: all-tests-passed
runs-on: ubuntu-latest
needs: test
steps:
- if: ${{ needs.test.result == 'failure' || needs.test.result == 'cancelled' }}
run: exit 1
test-unity:
needs: changed-files
if: ${{ needs.changed-files.outputs.src == 'true' }}
name: test-unity-on-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/setup-build
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
os: ${{ matrix.os }}
- run: python3 build.py unity build
all-tests-unity-passed:
if: ${{ always() }}
name: all-tests-unity-passed
runs-on: ubuntu-latest
needs: test-unity
steps:
- if: ${{ needs.test-unity.result == 'failure' || needs.test-unity.result == 'cancelled' }}
run: exit 1