File tree Expand file tree Collapse file tree 1 file changed +33
-33
lines changed Expand file tree Collapse file tree 1 file changed +33
-33
lines changed Original file line number Diff line number Diff line change 99 CARGO_TERM_COLOR : always
1010
1111jobs :
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
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
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 : |
You can’t perform that action at this time.
0 commit comments