Skip to content

Commit

Permalink
Add Flatpak and Windows ARM64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed May 8, 2024
1 parent 16eee04 commit 224f8e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .ci_scripts/build_upload.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if ("${env:COMPILER}" -eq "msvc") {
CopyFile ext\SDL2\SDL2-${env:SDL_VERSION}\lib\x64\SDL2.dll .
CopyFile ext\SDL2\SDL2_mixer-${env:SDL_MIXER_VERSION}\lib\x64\SDL2_mixer.dll .
} elseif ("${env:COMPILER}" -eq "msvc-arm64") {
$suffix = "windows-msvc-arm64"
$suffix = "windows-arm64"
CopyFile build/RelWithDebInfo/augustus.exe .
CopyFile build/RelWithDebInfo/augustus.pdb .
CopyFile ext\SDL2\SDL2\SDL2.dll .
Expand Down Expand Up @@ -107,14 +107,14 @@ if (!$env:UPLOAD_TOKEN) {
exit
}

echo "Uploading $deploy_file to $repo/windows/$version"
curl -u "$env:UPLOAD_TOKEN" -T "deploy/$deploy_file" "https://augustus.josecadete.net/upload/$repo/windows/$version/${deploy_file}"
echo "Uploading $deploy_file to $repo/$suffix/$version"
curl -u "$env:UPLOAD_TOKEN" -T "deploy/$deploy_file" "https://augustus.josecadete.net/upload/$repo/$suffix/$version/${deploy_file}"
if (!$?) {
throw "Unable to upload"
}
echo "Uploaded. URL: https://augustus.josecadete.net/$repo.html"

if (!$packed_assets) {
if (!$packed_assets -and $suffix -eq "windows") {
echo "Packing the assets"

cd .\res\asset_packer
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ jobs:
- name: Windows MSVC ARM64
cache-key: msvc-arm64
COMPILER: msvc-arm64
SKIP_UPLOAD: true
name: ${{ matrix.name }}
runs-on: windows-latest
env:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Chat: [Discord](http://www.discord.gg/GamerZakh) (kindly hosted by GamerZakh)
|----------|----------------|----------------|
| Windows | [![Download](https://augustus.josecadete.net/badge/release/windows.svg)](https://augustus.josecadete.net/download/latest/release/windows) | [![Download](https://augustus.josecadete.net/badge/development/windows.svg)](https://augustus.josecadete.net/download/latest/development/windows) [(Download development assets)](https://augustus.josecadete.net/download/latest/development/assets) |
| Linux AppImage | [![Download](https://augustus.josecadete.net/badge/release/linux-appimage.svg)](https://augustus.josecadete.net/download/latest/release/linux-appimage) | [![Download](https://augustus.josecadete.net/badge/development/linux-appimage.svg)](https://augustus.josecadete.net/download/latest/development/linux-appimage)
| Linux Flatpak | Next release! | [![Download](https://augustus.josecadete.net/badge/development/linux-flatpak.svg)](https://augustus.josecadete.net/download/latest/development/linux-flatpak)
| Mac | [![Download](https://augustus.josecadete.net/badge/release/mac.svg)](https://augustus.josecadete.net/download/latest/release/mac) | [![Download](https://augustus.josecadete.net/badge/development/mac.svg)](https://augustus.josecadete.net/download/latest/development/mac) |
| PS Vita | [![Download](https://augustus.josecadete.net/badge/release/vita.svg)](https://augustus.josecadete.net/download/latest/release/vita)| [![Download](https://augustus.josecadete.net/badge/development/vita.svg)](https://augustus.josecadete.net/download/latest/development/vita) |
| Switch | [![Download](https://augustus.josecadete.net/badge/release/switch.svg)](https://augustus.josecadete.net/download/latest/release/switch) | [![Download](https://augustus.josecadete.net/badge/development/switch.svg)](https://augustus.josecadete.net/download/latest/development/switch) |
Expand Down

0 comments on commit 224f8e9

Please sign in to comment.