mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-08 18:08:51 -06:00
Add simple build script
This commit is contained in:
40
.github/workflows/build.yaml
vendored
Normal file
40
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- README.md
|
||||
- .gitignore
|
||||
- LICENSE
|
||||
- run.sh
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- README.md
|
||||
- .gitignore
|
||||
- LICENSE
|
||||
- run.sh
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose --release
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
||||
# Publish flow
|
||||
# - name: cargo login
|
||||
# run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
|
||||
|
||||
# - name: "cargo release publish"
|
||||
# run: cargo release publish --workspace --all-features --allow-branch HEAD --no-confirm --no-verify --execute
|
||||
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "spotify-player-quickauth"
|
||||
version = "0.1.0"
|
||||
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "spotify-player-quickauth"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
Reference in New Issue
Block a user