Skip to content

Commit

Permalink
Try to fix workflows...
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelherger committed Sep 20, 2024
1 parent 6aaddfd commit d3bd945
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-spotty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
runs-on: macos-12

steps:
- name: Install Rust
if: false
uses: crusty-pie/toolchain@v1
with:
toolchain: stable

- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -69,16 +63,16 @@ jobs:

- name: Prepare build environment
run: |
sudo apt-get update
rustup target add x86_64-unknown-linux-musl
rustup target add i686-unknown-linux-musl
curl -L https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-musl.tar.gz | tar xvz
mkdir -p releases/i386-linux
mkdir -p releases/aarch64-linux
mkdir -p releases/arm-linux
- name: Build i686
run: |
cargo build --release --target=i686-unknown-linux-musl
./cross build --release --target=i686-unknown-linux-musl
cp target/i686-unknown-linux-musl/release/spotty releases/i386-linux/spotty
- name: Build x86_64
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
uses: actions/[email protected]

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- run: cargo clippy -p librespot-core
- run: cargo hack clippy --each-feature -p librespot-discovery
- run: cargo hack clippy --each-feature -p librespot-playback
- run: cargo hack clippy --each-feature
# - run: cargo hack clippy --each-feature

test-linux:
if: false
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
uses: ilammy/[email protected]

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
uses: actions/[email protected]

- name: Write Build Configuration File
uses: DamianReeves/write-file-action@v1.0
uses: DamianReeves/write-file-action@v1.3
with:
path: ./src/client_id.txt
contents: ${{ env.KEYMASTER_CLIENT_ID }}
Expand Down

0 comments on commit d3bd945

Please sign in to comment.