1616 build :
1717 strategy :
1818 matrix :
19- platform : [ubuntu-latest, macos-latest, windows-latest]
19+ include :
20+ - platform : macos-latest
21+ arch : x64
22+ - platform : macos-latest
23+ arch : arm64
24+ - platform : ubuntu-latest
25+ arch : x64
26+ - platform : ubuntu-latest
27+ arch : arm64
28+ - platform : ubuntu-latest
29+ arch : arm
30+ - platform : windows-latest
31+ arch : x64
2032
2133 runs-on : ${{ matrix.platform }}
2234 steps :
@@ -47,40 +59,40 @@ jobs:
4759 env :
4860 os : ${{ runner.os == 'Windows' && 'win' || runner.os == 'macOS' && 'osx' || 'linux' }}
4961 run : |
50- dotnet publish Celeste64Launcher/Celeste64Launcher. csproj -c Release -r ${{env.os}}-x64 -p:ImportByWildcardBeforeSolution=false "-p:EmbeddedBuildProperty=ModVersion=${{ env.SHORT_SHA }}" -o build && cp -r Content Mods build
62+ dotnet publish Celeste64.Launcher/Celeste64.Launcher. csproj -c Release -r ${{env.os}}-${{ matrix.arch }} -p:ImportByWildcardBeforeSolution=false "-p:EmbeddedBuildProperty=ModVersion=${{ env.SHORT_SHA }}" -o build && cp -r Content Mods build
5163 if : runner.os != 'Windows'
5264 - name : Build (windows)
5365 env :
5466 os : ${{ runner.os == 'Windows' && 'win' || runner.os == 'macOS' && 'osx' || 'linux' }}
5567 run : |
56- dotnet publish Celeste64Launcher/Celeste64Launcher. csproj -c Release -r win-x64 -p:ImportByWildcardBeforeSolution=false "-p:EmbeddedBuildProperty=ModVersion=${{steps.vars.outputs.SHORT_SHA}}" -o build && xcopy Mods build\Mods /s /e /h /i /y && xcopy Content build\Content /s /e /h /i /y
68+ dotnet publish Celeste64.Launcher/Celeste64.Launcher. csproj -c Release -r win-${{ matrix.arch }} -p:ImportByWildcardBeforeSolution=false "-p:EmbeddedBuildProperty=ModVersion=${{steps.vars.outputs.SHORT_SHA}}" -o build && xcopy Mods build\Mods /s /e /h /i /y && xcopy Content build\Content /s /e /h /i /y
5769 if : runner.os == 'Windows'
5870 - name : Compress (Windows)
5971 run : |
60- Compress-Archive build/* Celeste64-Fuji-${{ runner.os }}-x64 .zip
72+ Compress-Archive build/* Celeste64-Fuji-${{ runner.os }}-${{ matrix.arch }} .zip
6173 if : runner.os == 'Windows'
6274
6375 - name : Compress (macOS and Linux)
6476 run : |
65- cd build && zip -r ../Celeste64-Fuji-${{ runner.os }}-x64 .zip *
77+ cd build && zip -r ../Celeste64-Fuji-${{ runner.os }}-${{ matrix.arch }} .zip *
6678 if : runner.os != 'Windows'
6779
6880 - name : Publish Github Release Windows
6981 uses : ncipollo/release-action@v1
7082 with :
71- artifacts : Celeste64-Fuji-${{ runner.os }}-x64 .zip
83+ artifacts : Celeste64-Fuji-${{ runner.os }}-${{ matrix.arch }} .zip
7284 tag : " beta-${{steps.vars.outputs.SHORT_SHA}}"
7385 body : |
7486 # Instructions:
7587
7688 - Download and extract the zip file below according to your computer
77- - Run the Celeste64 application from the extracted files
89+ - Run the Celeste64-Fuji application from the extracted files
7890
7991 # Requirements:
8092
81- - **Windows:** 10 or later, x64
93+ - **Windows:** 10 or later, x64 or arm
8294 - **Linux:** [Distro support list](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md), x64
83- - **macOS:** Monterey or later, x64 Intel -based or Apple Silicon with Rosetta
95+ - **macOS:** Monterey or later, x64 or arm sIntel -based or Apple Silicon with Rosetta
8496 allowUpdates : true
8597 name : " Fuji Beta Build ${{steps.vars.outputs.SHORT_SHA}}"
8698 prerelease : true
@@ -91,19 +103,19 @@ jobs:
91103 - name : Publish Github Release Linux and Mac
92104 uses : ncipollo/release-action@v1
93105 with :
94- artifacts : Celeste64-Fuji-${{ runner.os }}-x64 .zip
106+ artifacts : Celeste64-Fuji-${{ runner.os }}-${{ matrix.arch }} .zip
95107 tag : " beta-${{ env.SHORT_SHA }}"
96108 body : |
97109 # Instructions:
98110
99111 - Download and extract the zip file below according to your computer
100- - Run the Celeste64 application from the extracted files
112+ - Run the Celeste64-Fuji application from the extracted files
101113
102114 # Requirements:
103115
104116 - **Windows:** 10 or later, x64
105- - **Linux:** [Distro support list](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md), x64
106- - **macOS:** Monterey or later, x64 Intel-based or Apple Silicon with Rosetta
117+ - **Linux:** [Distro support list](https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md), x64 or arm
118+ - **macOS:** Monterey or later, x64 or arm Intel-based or Apple Silicon with Rosetta
107119 allowUpdates : true
108120 name : " Fuji Beta Build ${{ env.SHORT_SHA }}"
109121 prerelease : true
0 commit comments