Added support for Realized P&L transactions #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build --verbose --release | |
- run: cargo install cargo-packager --locked | |
- run: cargo packager --release | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Raccoin.AppImage | |
path: target/release/raccoin_*.AppImage | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Raccoin.deb | |
path: target/release/raccoin_*.deb | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build --verbose --release | |
- run: cargo install cargo-packager --locked | |
- run: cargo packager --release | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Raccoin-setup.exe | |
path: target/release/raccoin_*-setup.exe | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo build --verbose --release | |
- run: cargo install cargo-packager --locked | |
- run: cargo packager --release | |
- run: ditto -c -k --sequesterRsrc --keepParent target/release/Raccoin.app Raccoin.app.zip | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Raccoin.app | |
path: Raccoin.app.zip | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Raccoin.dmg | |
path: target/release/Raccoin_*.dmg |