Skip to content

Commit

Permalink
ci: comment out other builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Dec 2, 2024
1 parent a59cb7d commit a995e56
Show file tree
Hide file tree
Showing 3 changed files with 248 additions and 248 deletions.
128 changes: 64 additions & 64 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base

#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [main]
# Remove the line above to run when pushing to master
pull_request:
branches: [main]

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write

##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: (.*src/Packages/Passport/Runtime/ThirdParty/.*|.*src/Packages/Passport/Runtime/Resources/.*|.*Plugins/.*|.*src/Packages/Passport/Runtime/Assets/ImmutableAndroid.androidlib/.*|.*src/Packages/Orderbook|.*src/Packages/ZkEvmApi/.*|.*sample|.*src/Packages/Passport/WebGLTemplates~|.*.github/workflows)
VALIDATE_MARKDOWN: false
VALIDATE_GITLEAKS: false
VALIDATE_JSCPD: false
VALIDATE_SHELL_SHFMT: false
#---
##################################
##################################
### Super Linter GitHub Actions ##
##################################
##################################
#name: Lint Code Base
#
##############################
## Start the job on all push #
##############################
#on:
# push:
# branches-ignore: [main]
# # Remove the line above to run when pushing to master
# pull_request:
# branches: [main]
#
################
## Set the Job #
################
#jobs:
# build:
# # Name the Job
# name: Lint Code Base
# # Set the agent to run on
# runs-on: ubuntu-latest
#
# ############################################
# # Grant status permission for MULTI_STATUS #
# ############################################
# permissions:
# contents: read
# packages: read
# statuses: write
#
# ##################
# # Load all steps #
# ##################
# steps:
# ##########################
# # Checkout the code base #
# ##########################
# - name: Checkout Code
# uses: actions/checkout@v3
# with:
# # Full git history is needed to get a proper
# # list of changed files within `super-linter`
# fetch-depth: 0
#
# ################################
# # Run Linter against code base #
# ################################
# - name: Lint Code Base
# uses: github/super-linter@v5
# env:
# VALIDATE_ALL_CODEBASE: true
# DEFAULT_BRANCH: main
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# FILTER_REGEX_EXCLUDE: (.*src/Packages/Passport/Runtime/ThirdParty/.*|.*src/Packages/Passport/Runtime/Resources/.*|.*Plugins/.*|.*src/Packages/Passport/Runtime/Assets/ImmutableAndroid.androidlib/.*|.*src/Packages/Orderbook|.*src/Packages/ZkEvmApi/.*|.*sample|.*src/Packages/Passport/WebGLTemplates~|.*.github/workflows)
# VALIDATE_MARKDOWN: false
# VALIDATE_GITLEAKS: false
# VALIDATE_JSCPD: false
# VALIDATE_SHELL_SHFMT: false
98 changes: 49 additions & 49 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,63 +12,63 @@ concurrency:
cancel-in-progress: true

jobs:
test:
if: github.event.pull_request.head.repo.fork == false
name: Test sample app
runs-on: ubuntu-latest-8-cores

steps:
- uses: actions/checkout@v3
with:
lfs: true
- run: git lfs pull

- uses: game-ci/unity-test-runner@v4
id: passportTest
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
unityVersion: 2021.3.26f1
projectPath: './sample'
githubToken: ${{ secrets.GITHUB_TOKEN }}
testMode: 'EditMode'
- uses: actions/upload-artifact@v4
if: always()
with:
name: Test results
path: ${{ steps.passportTest.outputs.artifactsPath }}

- uses: actions/upload-artifact@v4
if: always()
with:
name: Coverage results
path: ${{ steps.passportTest.outputs.coveragePath }}
# test:
# if: github.event.pull_request.head.repo.fork == false
# name: Test sample app
# runs-on: ubuntu-latest-8-cores
#
# steps:
# - uses: actions/checkout@v3
# with:
# lfs: true
# - run: git lfs pull
#
# - uses: game-ci/unity-test-runner@v4
# id: passportTest
# env:
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
# with:
# unityVersion: 2021.3.26f1
# projectPath: './sample'
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# testMode: 'EditMode'
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: Test results
# path: ${{ steps.passportTest.outputs.artifactsPath }}
#
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: Coverage results
# path: ${{ steps.passportTest.outputs.coveragePath }}
build:
needs: test
name: Build for ${{ matrix.targetPlatform }}
# needs: test
name: Build for ${{ matrix.targetPlatform }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- targetPlatform: iOS
os: macos-latest
- targetPlatform: Android
os: macos-latest
- targetPlatform: WebGL
os: macos-latest
# - targetPlatform: iOS
# os: macos-latest
# - targetPlatform: Android
# os: macos-latest
# - targetPlatform: WebGL
# os: macos-latest
- targetPlatform: StandaloneOSX
os: macos-latest
- targetPlatform: iOS
os: windows-latest
- targetPlatform: Android
os: windows-latest
- targetPlatform: WebGL
os: windows-latest
- targetPlatform: StandaloneWindows64
os: windows-latest
# - targetPlatform: iOS
# os: windows-latest
# - targetPlatform: Android
# os: windows-latest
# - targetPlatform: WebGL
# os: windows-latest
# - targetPlatform: StandaloneWindows64
# os: windows-latest

steps:
- uses: actions/checkout@v4
Expand Down
Loading

0 comments on commit a995e56

Please sign in to comment.