Skip to content

Commit 0e865a4

Browse files
committed
test: login mac
1 parent ae2f4a5 commit 0e865a4

File tree

13 files changed

+847
-286
lines changed

13 files changed

+847
-286
lines changed

.github/workflows/linter.yml

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
1-
---
2-
#################################
3-
#################################
4-
## Super Linter GitHub Actions ##
5-
#################################
6-
#################################
7-
name: Lint Code Base
1+
# ---
2+
# #################################
3+
# #################################
4+
# ## Super Linter GitHub Actions ##
5+
# #################################
6+
# #################################
7+
# name: Lint Code Base
88

9-
#############################
10-
# Start the job on all push #
11-
#############################
12-
on:
13-
push:
14-
branches-ignore: [main]
15-
# Remove the line above to run when pushing to master
16-
pull_request:
17-
branches: [main]
9+
# #############################
10+
# # Start the job on all push #
11+
# #############################
12+
# on:
13+
# push:
14+
# branches-ignore: [main]
15+
# # Remove the line above to run when pushing to master
16+
# pull_request:
17+
# branches: [main]
1818

19-
###############
20-
# Set the Job #
21-
###############
22-
jobs:
23-
build:
24-
# Name the Job
25-
name: Lint Code Base
26-
# Set the agent to run on
27-
runs-on: ubuntu-latest
19+
# ###############
20+
# # Set the Job #
21+
# ###############
22+
# jobs:
23+
# build:
24+
# # Name the Job
25+
# name: Lint Code Base
26+
# # Set the agent to run on
27+
# runs-on: ubuntu-latest
2828

29-
############################################
30-
# Grant status permission for MULTI_STATUS #
31-
############################################
32-
permissions:
33-
contents: read
34-
packages: read
35-
statuses: write
29+
# ############################################
30+
# # Grant status permission for MULTI_STATUS #
31+
# ############################################
32+
# permissions:
33+
# contents: read
34+
# packages: read
35+
# statuses: write
3636

37-
##################
38-
# Load all steps #
39-
##################
40-
steps:
41-
##########################
42-
# Checkout the code base #
43-
##########################
44-
- name: Checkout Code
45-
uses: actions/checkout@v3
46-
with:
47-
# Full git history is needed to get a proper
48-
# list of changed files within `super-linter`
49-
fetch-depth: 0
37+
# ##################
38+
# # Load all steps #
39+
# ##################
40+
# steps:
41+
# ##########################
42+
# # Checkout the code base #
43+
# ##########################
44+
# - name: Checkout Code
45+
# uses: actions/checkout@v3
46+
# with:
47+
# # Full git history is needed to get a proper
48+
# # list of changed files within `super-linter`
49+
# fetch-depth: 0
5050

51-
################################
52-
# Run Linter against code base #
53-
################################
54-
- name: Lint Code Base
55-
uses: github/super-linter@v5
56-
env:
57-
VALIDATE_ALL_CODEBASE: true
58-
DEFAULT_BRANCH: main
59-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60-
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)
61-
VALIDATE_MARKDOWN: false
62-
VALIDATE_GITLEAKS: false
63-
VALIDATE_JSCPD: false
64-
VALIDATE_SHELL_SHFMT: false
51+
# ################################
52+
# # Run Linter against code base #
53+
# ################################
54+
# - name: Lint Code Base
55+
# uses: github/super-linter@v5
56+
# env:
57+
# VALIDATE_ALL_CODEBASE: true
58+
# DEFAULT_BRANCH: main
59+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
# 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)
61+
# VALIDATE_MARKDOWN: false
62+
# VALIDATE_GITLEAKS: false
63+
# VALIDATE_JSCPD: false
64+
# VALIDATE_SHELL_SHFMT: false

.github/workflows/test-build.yml

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,92 @@
1-
---
2-
name: Test & Build
1+
# ---
2+
# name: Test & Build
33

4-
on:
5-
push:
6-
branches: [main]
7-
pull_request:
4+
# on:
5+
# push:
6+
# branches: [main]
7+
# pull_request:
88

9-
concurrency:
10-
group: ${{ github.workflow }}-${{ github.ref }}
11-
cancel-in-progress: true
9+
# concurrency:
10+
# group: ${{ github.workflow }}-${{ github.ref }}
11+
# cancel-in-progress: true
1212

13-
jobs:
14-
test:
15-
if: github.event.pull_request.head.repo.fork == false
16-
name: Test sample game 🧪
17-
runs-on: ubuntu-latest-8-cores
13+
# jobs:
14+
# test:
15+
# if: github.event.pull_request.head.repo.fork == false
16+
# name: Test sample game 🧪
17+
# runs-on: ubuntu-latest-8-cores
1818

19-
steps:
20-
- uses: actions/checkout@v3
21-
with:
22-
lfs: true
23-
- run: git lfs pull
19+
# steps:
20+
# - uses: actions/checkout@v3
21+
# with:
22+
# lfs: true
23+
# - run: git lfs pull
2424

25-
- uses: game-ci/unity-test-runner@v4
26-
id: passportTest
27-
env:
28-
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
29-
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
30-
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
31-
with:
32-
unityVersion: 2021.3.26f1
33-
projectPath: './sample'
34-
githubToken: ${{ secrets.GITHUB_TOKEN }}
35-
testMode: 'EditMode'
36-
- uses: actions/upload-artifact@v4
37-
if: always()
38-
with:
39-
name: Test results
40-
path: ${{ steps.passportTest.outputs.artifactsPath }}
25+
# - uses: game-ci/unity-test-runner@v4
26+
# id: passportTest
27+
# env:
28+
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
29+
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
30+
# UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
31+
# with:
32+
# unityVersion: 2021.3.26f1
33+
# projectPath: './sample'
34+
# githubToken: ${{ secrets.GITHUB_TOKEN }}
35+
# testMode: 'EditMode'
36+
# - uses: actions/upload-artifact@v4
37+
# if: always()
38+
# with:
39+
# name: Test results
40+
# path: ${{ steps.passportTest.outputs.artifactsPath }}
4141

42-
- uses: actions/upload-artifact@v4
43-
if: always()
44-
with:
45-
name: Coverage results
46-
path: ${{ steps.passportTest.outputs.coveragePath }}
47-
build:
48-
needs: test
49-
name: Build for ${{ matrix.targetPlatform }}
50-
runs-on: ubuntu-latest-8-cores
51-
strategy:
52-
fail-fast: false
53-
matrix:
54-
targetPlatform:
55-
- iOS
56-
- Android
57-
- WebGL
58-
# - StandaloneOSX
59-
- StandaloneWindows64
60-
steps:
61-
- uses: actions/checkout@v4
62-
with:
63-
fetch-depth: 0
64-
lfs: true
65-
- uses: actions/cache@v3
66-
with:
67-
path: Library
68-
key:
69-
Library-${{ matrix.targetPlatform }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
70-
restore-keys: |
71-
Library-${{ matrix.targetPlatform }}
72-
Library-
73-
- uses: game-ci/unity-builder@v4
74-
env:
75-
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
76-
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
77-
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
78-
with:
79-
unityVersion: 2021.3.26f1
80-
targetPlatform: ${{ matrix.targetPlatform }}
81-
projectPath: sample
82-
- name: Deploy to GitHub Pages
83-
uses: JamesIves/[email protected]
84-
if: matrix.targetPlatform == 'WebGL'
85-
with:
86-
branch: gh-pages
87-
folder: build/WebGL/WebGL
88-
- uses: actions/upload-artifact@v4
89-
if: always()
90-
with:
91-
name: Build-${{ matrix.targetPlatform }}
92-
path: build
42+
# - uses: actions/upload-artifact@v4
43+
# if: always()
44+
# with:
45+
# name: Coverage results
46+
# path: ${{ steps.passportTest.outputs.coveragePath }}
47+
# build:
48+
# needs: test
49+
# name: Build for ${{ matrix.targetPlatform }}
50+
# runs-on: ubuntu-latest-8-cores
51+
# strategy:
52+
# fail-fast: false
53+
# matrix:
54+
# targetPlatform:
55+
# - iOS
56+
# - Android
57+
# - WebGL
58+
# # - StandaloneOSX
59+
# - StandaloneWindows64
60+
# steps:
61+
# - uses: actions/checkout@v4
62+
# with:
63+
# fetch-depth: 0
64+
# lfs: true
65+
# - uses: actions/cache@v3
66+
# with:
67+
# path: Library
68+
# key:
69+
# Library-${{ matrix.targetPlatform }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
70+
# restore-keys: |
71+
# Library-${{ matrix.targetPlatform }}
72+
# Library-
73+
# - uses: game-ci/unity-builder@v4
74+
# env:
75+
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
76+
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
77+
# UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
78+
# with:
79+
# unityVersion: 2021.3.26f1
80+
# targetPlatform: ${{ matrix.targetPlatform }}
81+
# projectPath: sample
82+
# - name: Deploy to GitHub Pages
83+
# uses: JamesIves/[email protected]
84+
# if: matrix.targetPlatform == 'WebGL'
85+
# with:
86+
# branch: gh-pages
87+
# folder: build/WebGL/WebGL
88+
# - uses: actions/upload-artifact@v4
89+
# if: always()
90+
# with:
91+
# name: Build-${{ matrix.targetPlatform }}
92+
# path: build

0 commit comments

Comments
 (0)