Skip to content

Commit

Permalink
com.utilities.webscokets 1.0.1 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored Nov 5, 2024
1 parent c5db730 commit d630d3d
Show file tree
Hide file tree
Showing 8 changed files with 298 additions and 253 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,44 @@ on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ ( github.event_name == 'pull_request' || github.event.action == 'synchronize' ) }}
permissions:
checks: write
pull-requests: write
cancel-in-progress: ${{ (github.event_name == 'pull_request' || github.event.action == 'synchronize') }}
jobs:
build:
env:
UNITY_PROJECT_PATH: ''
name: ${{ matrix.unity-version }} ${{ matrix.build-target }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
unity-versions: [2021.x, 2022.x, 6000.x]
os: [windows-latest, macos-15]
unity-version: [2021.x, 2022.x, 6000.x]
include:
- os: ubuntu-latest
build-target: StandaloneLinux64
- os: windows-latest
build-target: StandaloneWindows64
- os: macos-13
- os: macos-15
build-target: StandaloneOSX
- os: ubuntu-latest
unity-version: 2021.x
build-target: StandaloneLinux64
- os: ubuntu-latest
unity-version: 2022.x
build-target: StandaloneLinux64
- os: ubuntu-latest
unity-version: 6000.x
build-target: StandaloneLinux64
- os: ubuntu-latest
unity-version: 2021.x
build-target: WebGL
- os: ubuntu-latest
unity-version: 2022.x
build-target: WebGL
- os: ubuntu-latest
unity-version: 6000.x
build-target: WebGL
steps:
- uses: actions/checkout@v4
- uses: RageAgainstThePixel/unity-setup@v1
with:
unity-version: ${{ matrix.unity-versions }}
unity-version: ${{ matrix.unity-version }}
build-targets: ${{ matrix.build-target }}
- uses: RageAgainstThePixel/activate-unity-license@v1
with:
Expand All @@ -47,6 +59,7 @@ jobs:
name: '${{ matrix.build-target }}-Validate'
with:
log-name: '${{ matrix.build-target }}-Validate'
build-target: ${{ matrix.build-target }}
args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset'
- uses: RageAgainstThePixel/unity-action@v1
name: '${{ matrix.build-target }}-Test'
Expand All @@ -58,13 +71,14 @@ jobs:
name: '${{ matrix.build-target }}-Build'
with:
log-name: '${{ matrix.build-target }}-Build'
build-target: ${{ matrix.build-target }}
args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.StartCommandLineBuild'
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
compression-level: 0
retention-days: 1
name: '${{ github.run_number }}.${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.unity-versions }}-${{ matrix.build-target }}-Artifacts'
name: '${{ github.run_number }}.${{ github.run_attempt }}-${{ matrix.os }}-${{ matrix.unity-version }}-${{ matrix.build-target }}-Artifacts'
path: |
${{ github.workspace }}/**/*.log
${{ github.workspace }}/**/*.xml
Loading

0 comments on commit d630d3d

Please sign in to comment.