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 09fa0a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-spotty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,27 @@ jobs:

- name: Prepare build environment
run: |
sudo apt-get update
sudo apt install -y musl-tools
rustup target add x86_64-unknown-linux-musl
rustup target add i686-unknown-linux-musl
# rustup target add i686-unknown-linux-musl
rustup target add i686-unknown-linux-gnu
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
- name: Build i686 musl
if: false
run: |
cargo build --release --target=i686-unknown-linux-musl
cp target/i686-unknown-linux-musl/release/spotty releases/i386-linux/spotty
- name: Build i686 gcc
run: |
cargo build --release --target=i686-unknown-linux-tcc
cp target/i686-unknown-linux-gcc/release/spotty releases/i386-linux/spotty
- name: Build x86_64
run: |
cargo build --release --target=x86_64-unknown-linux-musl
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/checkout@v4.1.7

- 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/setup-nasm@v1.5.1

- 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/checkout@v4.1.7

- 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 09fa0a0

Please sign in to comment.