Skip to content

Commit d3bd945

Browse files
committed
Try to fix workflows...
1 parent 6aaddfd commit d3bd945

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/build-spotty.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
runs-on: macos-12
1515

1616
steps:
17-
- name: Install Rust
18-
if: false
19-
uses: crusty-pie/toolchain@v1
20-
with:
21-
toolchain: stable
22-
2317
- name: Checkout
2418
uses: actions/checkout@v4
2519

@@ -69,16 +63,16 @@ jobs:
6963

7064
- name: Prepare build environment
7165
run: |
66+
sudo apt-get update
7267
rustup target add x86_64-unknown-linux-musl
73-
rustup target add i686-unknown-linux-musl
7468
curl -L https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-musl.tar.gz | tar xvz
7569
mkdir -p releases/i386-linux
7670
mkdir -p releases/aarch64-linux
7771
mkdir -p releases/arm-linux
7872
7973
- name: Build i686
8074
run: |
81-
cargo build --release --target=i686-unknown-linux-musl
75+
./cross build --release --target=i686-unknown-linux-musl
8276
cp target/i686-unknown-linux-musl/release/spotty releases/i386-linux/spotty
8377
8478
- name: Build x86_64

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
uses: actions/checkout@v4.1.7
7373

7474
- name: Write Build Configuration File
75-
uses: DamianReeves/write-file-action@v1.0
75+
uses: DamianReeves/write-file-action@v1.3
7676
with:
7777
path: ./src/client_id.txt
7878
contents: ${{ env.KEYMASTER_CLIENT_ID }}
@@ -105,7 +105,7 @@ jobs:
105105
- run: cargo clippy -p librespot-core
106106
- run: cargo hack clippy --each-feature -p librespot-discovery
107107
- run: cargo hack clippy --each-feature -p librespot-playback
108-
- run: cargo hack clippy --each-feature
108+
# - run: cargo hack clippy --each-feature
109109

110110
test-linux:
111111
if: false
@@ -185,7 +185,7 @@ jobs:
185185
uses: ilammy/setup-nasm@v1.5.1
186186

187187
- name: Write Build Configuration File
188-
uses: DamianReeves/write-file-action@v1.0
188+
uses: DamianReeves/write-file-action@v1.3
189189
with:
190190
path: ./src/client_id.txt
191191
contents: ${{ env.KEYMASTER_CLIENT_ID }}
@@ -240,7 +240,7 @@ jobs:
240240
uses: actions/checkout@v4.1.7
241241

242242
- name: Write Build Configuration File
243-
uses: DamianReeves/write-file-action@v1.0
243+
uses: DamianReeves/write-file-action@v1.3
244244
with:
245245
path: ./src/client_id.txt
246246
contents: ${{ env.KEYMASTER_CLIENT_ID }}

0 commit comments

Comments
 (0)