Skip to content

Commit

Permalink
build: Add automated builds (#179)
Browse files Browse the repository at this point in the history
build: switch to lib-stripped
  • Loading branch information
Jeremy-Vidaurri authored Sep 5, 2024
1 parent 9e24868 commit 9f913be
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 14 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: '**'
paths:
- 'Randomizer/**'
- '.github/**'
pull_request:
branches: '**'
paths:
- 'Randomizer/**'
- '.github/**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Prepare
run: mkdir -p ${{ github.workspace }}/dist

- name: Build and Bundle
run: bash ${{ github.workspace }}/bundle.sh

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: CelesteRandomizer
path: ${{ github.workspace }}/dist/Randomizer_*.zip

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,4 @@ dist
edited_maps
.vscode
promo
!**/packages/lib-stripped/
24 changes: 10 additions & 14 deletions Randomizer/Randomizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,49 +35,45 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Celeste">
<HintPath>..\packages\Celeste.exe</HintPath>
<HintPath>..\packages\lib-stripped\Celeste.exe</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FNA">
<HintPath>..\packages\FNA.dll</HintPath>
<HintPath>..\packages\lib-stripped\FNA.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="MMHOOK_Celeste">
<HintPath>..\packages\MMHOOK_Celeste.dll</HintPath>
<HintPath>..\packages\lib-stripped\MMHOOK_Celeste.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil">
<HintPath>..\packages\Mono.Cecil.dll</HintPath>
<HintPath>..\packages\lib-stripped\Mono.Cecil.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Mdb">
<HintPath>..\packages\Mono.Cecil.Mdb.dll</HintPath>
<HintPath>..\packages\lib-stripped\Mono.Cecil.Mdb.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Pdb">
<HintPath>..\packages\Mono.Cecil.Pdb.dll</HintPath>
<HintPath>..\packages\lib-stripped\Mono.Cecil.Pdb.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Rocks">
<HintPath>..\packages\Mono.Cecil.Rocks.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Steamworks.NET">
<HintPath>..\packages\Steamworks.NET.dll</HintPath>
<HintPath>..\packages\lib-stripped\Mono.Cecil.Rocks.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="YamlDotNet">
<HintPath>..\packages\YamlDotNet.dll</HintPath>
<HintPath>..\packages\lib-stripped\YamlDotNet.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="MonoMod.Utils">
<HintPath>..\packages\MonoMod.Utils.dll</HintPath>
<HintPath>..\packages\lib-stripped\MonoMod.Utils.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="MonoMod.RuntimeDetour">
<HintPath>..\packages\MonoMod.RuntimeDetour.dll</HintPath>
<HintPath>..\packages\lib-stripped\MonoMod.RuntimeDetour.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
Expand Down
Binary file added packages/lib-stripped/Celeste.exe
Binary file not shown.
Binary file added packages/lib-stripped/FNA.dll
Binary file not shown.
Binary file added packages/lib-stripped/MMHOOK_Celeste.dll
Binary file not shown.
Binary file added packages/lib-stripped/Mono.Cecil.Mdb.dll
Binary file not shown.
Binary file added packages/lib-stripped/Mono.Cecil.Pdb.dll
Binary file not shown.
Binary file added packages/lib-stripped/Mono.Cecil.Rocks.dll
Binary file not shown.
Binary file added packages/lib-stripped/Mono.Cecil.dll
Binary file not shown.
Binary file added packages/lib-stripped/MonoMod.RuntimeDetour.dll
Binary file not shown.
Binary file added packages/lib-stripped/MonoMod.Utils.dll
Binary file not shown.
Binary file added packages/lib-stripped/YamlDotNet.dll
Binary file not shown.

0 comments on commit 9f913be

Please sign in to comment.