Skip to content

Commit

Permalink
cleo ps2 port
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Oct 9, 2024
1 parent 196c614 commit 4b4be6b
Show file tree
Hide file tree
Showing 107 changed files with 9,234 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
92 changes: 92 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: GitHub Actions Build

on:
push:
branches:
- '**'
pull_request:
workflow_dispatch:
inputs:
release:
description: "Create a release"
type: choice
required: false
default: 'false'
options:
- 'false'
- 'true'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: false

permissions:
contents: write

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@main

- name: Configure build
run: ./premake5 vs2022

- name: Build
run: |
msbuild -m build/GTALCS.GTAVCS.PCSX2F.CLEO.sln /property:Configuration=Release
- name: Pack binaries
shell: cmd
run: release.bat

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: cleops2
path: |
data//*
!**/*.map
- name: Get release info
if: github.event.inputs.release != '' && github.event.inputs.release != 'false'
id: release_info
uses: cardinalby/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: latest

- name: Upload Release
if: |
github.event.inputs.release == 'true' &&
github.ref_name == 'main' &&
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') &&
github.repository == 'cleolibrary/GTALCS.GTAVCS.PCSX2F.CLEO'
uses: ncipollo/release-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
name: ${{ steps.release_info.outputs.name }}
body: ${{ steps.release_info.outputs.body }}
tag: ${{ steps.release_info.outputs.tag_name }}
artifacts: cleops2.zip

- name: Update Tag
if: |
github.event.inputs.release == 'true' &&
github.ref_name == 'main' &&
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') &&
github.repository == 'cleolibrary/GTALCS.GTAVCS.PCSX2F.CLEO'
uses: richardsimko/[email protected]
with:
tag_name: ${{ steps.release_info.outputs.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 4b4be6b

Please sign in to comment.