Skip to content

Commit 330a45b

Browse files
authored
Update build_librespot.yml
1 parent e75e1f6 commit 330a45b

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

.github/workflows/build_librespot.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,39 @@ env:
99
CARGO_TERM_COLOR: always
1010

1111
jobs:
12-
macos:
13-
runs-on: macos-11.0
14-
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
19-
- name: Install Rust support for ARM64 & prepare environment
20-
run: |
21-
rustup target add aarch64-apple-darwin
22-
mkdir releases
23-
24-
- name: Build
25-
run: |
26-
cargo build --release
27-
cargo build --target=aarch64-apple-darwin --release
28-
29-
- name: Build fat binary
30-
run: |
31-
lipo -create \
32-
-arch x86_64 target/release/librespot \
33-
-arch arm64 target/aarch64-apple-darwin/release/librespot \
34-
-output releases/librespot-macos-arm64
35-
chmod +x releases/librespot-macos-arm64
36-
37-
- name: Upload artifacts
38-
uses: actions/upload-artifact@v4
39-
with:
40-
name: librespot-mac
41-
path: releases/
12+
# macos:
13+
# runs-on: macos-11.0
14+
15+
# steps:
16+
# - name: Checkout
17+
# uses: actions/checkout@v3
18+
19+
# - name: Install Rust support for ARM64 & prepare environment
20+
# run: |
21+
# rustup target add aarch64-apple-darwin
22+
# mkdir releases
23+
24+
# - name: Build
25+
# run: |
26+
# cargo build --release
27+
# cargo build --target=aarch64-apple-darwin --release
28+
29+
# - name: Build fat binary
30+
# run: |
31+
# lipo -create \
32+
# -arch x86_64 target/release/librespot \
33+
# -arch arm64 target/aarch64-apple-darwin/release/librespot \
34+
# -output releases/librespot-macos-arm64
35+
# chmod +x releases/librespot-macos-arm64
36+
37+
# - name: Upload artifacts
38+
# uses: actions/upload-artifact@v4
39+
# with:
40+
# name: librespot-mac
41+
# path: releases/
4242

4343
linux:
44-
runs-on: ubuntu-20.04
44+
runs-on: ubuntu-22.04
4545

4646
steps:
4747
- name: Checkout
@@ -73,7 +73,7 @@ jobs:
7373
path: releases/
7474

7575
linux-musl:
76-
runs-on: ubuntu-20.04
76+
runs-on: ubuntu-22.04
7777

7878
steps:
7979
- name: Checkout
@@ -90,7 +90,7 @@ jobs:
9090
uses: awalsh128/cache-apt-pkgs-action@v1
9191
with:
9292
packages: "musl-tools"
93-
version: "1.0"
93+
version: "1.1"
9494

9595
- name: Build x86_64
9696
run: |

0 commit comments

Comments
 (0)