Skip to content

Commit ae2fabe

Browse files
committed
ci: fix Rust toolchains and campfire flatpak icon for non-linux builds
1 parent b37c465 commit ae2fabe

1 file changed

Lines changed: 44 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,12 @@ jobs:
879879
- name: Flutter doctor
880880
run: flutter doctor -v
881881

882+
- name: Install Rust toolchains
883+
run: |
884+
rustup toolchain install 1.85.1
885+
rustup toolchain install 1.89.0
886+
rustup default 1.89.0
887+
882888
- name: Configure app
883889
run: |
884890
cd scripts
@@ -959,6 +965,12 @@ jobs:
959965
with:
960966
go-version: '1.24.13'
961967

968+
- name: Install Rust toolchains
969+
run: |
970+
rustup toolchain install 1.85.1
971+
rustup toolchain install 1.89.0
972+
rustup default 1.89.0
973+
962974
- name: Configure app
963975
run: |
964976
cd scripts
@@ -1028,6 +1040,14 @@ jobs:
10281040
with:
10291041
go-version: '1.24.13'
10301042

1043+
- name: Install additional Rust toolchains
1044+
run: |
1045+
rustup toolchain install 1.85.1
1046+
rustup toolchain install 1.89.0
1047+
rustup default 1.89.0
1048+
rustup target add aarch64-apple-ios --toolchain 1.89.0
1049+
rustup target add x86_64-apple-ios --toolchain 1.89.0
1050+
10311051
- name: Configure app
10321052
run: |
10331053
cd scripts
@@ -1085,7 +1105,9 @@ jobs:
10851105
- name: Stage bundle and icon
10861106
run: |
10871107
tar -xzf "campfire-linux-x86_64-${{ steps.ver.outputs.version }}.tar.gz" -C flatpak/
1088-
cp asset_sources/icon/campfire/icon.png flatpak/com.cypherstack.campfire.png
1108+
convert -resize 512x512! \
1109+
asset_sources/icon/campfire/icon.png \
1110+
flatpak/com.cypherstack.campfire.png
10891111
10901112
- name: Install Flatpak tools
10911113
run: |
@@ -1317,6 +1339,12 @@ jobs:
13171339
- name: Flutter doctor
13181340
run: flutter doctor -v
13191341

1342+
- name: Install Rust toolchains
1343+
run: |
1344+
rustup toolchain install 1.85.1
1345+
rustup toolchain install 1.89.0
1346+
rustup default 1.89.0
1347+
13201348
- name: Configure app
13211349
run: |
13221350
cd scripts
@@ -1397,6 +1425,13 @@ jobs:
13971425
with:
13981426
go-version: '1.24.13'
13991427

1428+
- name: Install Rust toolchains
1429+
run: |
1430+
rustup toolchain install 1.85.1
1431+
rustup toolchain install 1.89.0
1432+
rustup default 1.89.0
1433+
rustup target add aarch64-apple-darwin --toolchain 1.89.0
1434+
14001435
- name: Configure app
14011436
run: |
14021437
cd scripts
@@ -1466,6 +1501,14 @@ jobs:
14661501
with:
14671502
go-version: '1.24.13'
14681503

1504+
- name: Install additional Rust toolchains
1505+
run: |
1506+
rustup toolchain install 1.85.1
1507+
rustup toolchain install 1.89.0
1508+
rustup default 1.89.0
1509+
rustup target add aarch64-apple-ios --toolchain 1.89.0
1510+
rustup target add x86_64-apple-ios --toolchain 1.89.0
1511+
14691512
- name: Configure app
14701513
run: |
14711514
cd scripts

0 commit comments

Comments
 (0)