Skip to content

Commit

Permalink
Merge pull request #3228 from KBVE/dev
Browse files Browse the repository at this point in the history
Preparing Alpha Branch
  • Loading branch information
h0lybyte authored Nov 15, 2024
2 parents 30abfd0 + da83e9d commit 7dfd3c3
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 8 deletions.
44 changes: 38 additions & 6 deletions .github/workflows/ci-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,16 @@ jobs:
name: Kilonet RareIcon
runs-on: ubuntu-latest
if: needs.alter.outputs.kilonet == 'true'
strategy:
fail-fast: false
matrix:
projectPath:
- /azure-rareicon
unityVersion:
- 6000.0.25f1
targetPlatform:
- StandaloneWindows64
- WebGL
steps:
- name: Checkout this repository
uses: actions/checkout@v4
Expand All @@ -193,13 +203,35 @@ jobs:
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git clone https://kbve:${AZURE_PAT}@dev.azure.com/kbve/rareicon/_git/rareicon azure-rareicon
cd azure-rareicon
echo "Current working directory: $(pwd)"
echo "Listing all files in the repository:"
find . -type f
echo "Listing all contents (including hidden files):"
ls -la
- name: Unity Cache
uses: actions/cache@v4
with:
path: ${{ matrix.projectPath }}/Library
key:
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{hashFiles(matrix.projectPath) }}
restore-keys: |
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
Library-${{ matrix.projectPath }}-
Library-
- name: Unity Builder
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
targetPlatform: ${{ matrix.targetPlatform }}

- name: Unity Upload
uses: actions/upload-artifact@v4
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}

# Alpha Builds

# buildSaber:
Expand Down
18 changes: 17 additions & 1 deletion apps/kbve.com/src/content/journal/11-15.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,20 @@ import { Adsense, Tasks } from '@kbve/astropad';
Time to build out the Azure pipeline and in this situation, we want to focus on getting the unity to build the rareicon game and push the code out.
Now trying to get this resolved, we first need to fix the azure pipeline and make sure that we can pull from the repo.
The best move would be test it within the alpha pull request, so lets go ahead and try that out!
If everything goes as planned, we should be able to build the unity game each time there are changes to the `kilonet` readme.
If everything goes as planned, we should be able to build the unity game each time there are changes to the `kilonet` readme.

To verify the files are from the azure repo, we will just run this command:

```shell

cd azure-rareicon
echo "Current working directory: $(pwd)"
echo "Listing all files in the repository:"
find . -type f
echo "Listing all contents (including hidden files):"
ls -la

```

Okay! We ran into another issue, our current build is `6000.0.26f1` and the gameci only has up to `6000.0.25f1` supported.
We will downgrade the game by one version and once the gameci releases the `6000.0.26f1`, we will upgrade back to the LTS.
4 changes: 3 additions & 1 deletion packages/kilonet/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Kilonet

This is a sample unity for Supabase integration within Rareicon and a couple inhouse games that are we building or partnering with.
I will wrap back around and update this package more often once we get the realtime operational on the supabse instance.
I will wrap back around and update this package more often once we get the realtime operational on the supabse instance.

Unity Version: 6000.0.25f1

0 comments on commit 7dfd3c3

Please sign in to comment.