Skip to content

Commit

Permalink
Merge pull request #6 from 5GameMaker/master
Browse files Browse the repository at this point in the history
Try as we might
  • Loading branch information
5GameMaker authored Aug 25, 2024
2 parents 01a5220 + b8648b0 commit 2625a3f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,51 +28,51 @@ jobs:
run: rm -fr target/github-release && mkdir -p target/github-release

- name: Build for x86_64-unknown-linux-gnu
run: rustup target add x86_64-unknown-linux-gnu
cargo build --verbose --release --target x86_64-unknown-linux-gnu
cp target/x86_64-unknown-linux-gnu/release/discord-backup-util \
run: rustup target add x86_64-unknown-linux-gnu &&
cargo build --verbose --release --target x86_64-unknown-linux-gnu &&
cp target/x86_64-unknown-linux-gnu/release/discord-backup-util
target/github-release/discord-backup-util.x86_64-unknown-linux-gnu

- name: Build for x86_64-unknown-linux-gnu
run: rustup target add x86_64-unknown-linux-musl
cargo build --verbose --release --target x86_64-unknown-linux-musl
cp target/x86_64-unknown-linux-musl/release/discord-backup-util \
run: rustup target add x86_64-unknown-linux-musl &&
cargo build --verbose --release --target x86_64-unknown-linux-musl &&
cp target/x86_64-unknown-linux-musl/release/discord-backup-util
target/github-release/discord-backup-util.x86_64-unknown-linux-musl

- name: Build for i586-unknown-linux-gnu
run: rustup target add i586-unknown-linux-gnu
cargo build --verbose --release --target i586-unknown-linux-gnu --no-default-features --features minreq
cp target/i586-unknown-linux-gnu/release/discord-backup-util \
run: rustup target add i586-unknown-linux-gnu &&
cargo build --verbose --release --target i586-unknown-linux-gnu --no-default-features --features minreq &&
cp target/i586-unknown-linux-gnu/release/discord-backup-util
target/github-release/discord-backup-util.i586-unknown-linux-gnu

- name: Build for i686-unknown-linux-gnu
run: rustup target add i686-unknown-linux-gnu
cargo build --verbose --release --target i686-unknown-linux-gnu
cp target/i686-unknown-linux-gnu/release/discord-backup-util \
run: rustup target add i686-unknown-linux-gnu &&
cargo build --verbose --release --target i686-unknown-linux-gnu &&
cp target/i686-unknown-linux-gnu/release/discord-backup-util
target/github-release/discord-backup-util.i686-unknown-linux-gnu

- name: Build for x86_64-pc-windows-gnu
run: rustup target add x86_64-pc-windows-gnu
cargo build --verbose --release --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe \
run: rustup target add x86_64-pc-windows-gnu &&
cargo build --verbose --release --target x86_64-pc-windows-gnu &&
cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe
target/github-release/discord-backup-util.x86_64-pc-windows-gnu.exe

- name: Build for x86_64-pc-windows-msvc
run: rustup target add x86_64-pc-windows-msvc
cargo xwin build --verbose --release --target x86_64-pc-windows-msvc
cp target/x86_64-pc-windows-msvc/release/discord-backup-util.exe \
run: rustup target add x86_64-pc-windows-msvc &&
cargo xwin build --verbose --release --target x86_64-pc-windows-msvc &&
cp target/x86_64-pc-windows-msvc/release/discord-backup-util.exe
target/github-release/discord-backup-util.x86_64-pc-windows-msvc.exe

- name: Build for x86_64-pc-windows-gnu
run: rustup target add x86_64-pc-windows-gnu
cargo build --verbose --release --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe \
run: rustup target add x86_64-pc-windows-gnu &&
cargo build --verbose --release --target x86_64-pc-windows-gnu &&
cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe
target/github-release/discord-backup-util.x86_64-pc-windows-gnu.exe

- name: Build for i686-pc-windows-gnu
run: rustup target add i686-pc-windows-gnu
cargo build --verbose --release --target i686-pc-windows-gnu
cp target/i686-pc-windows-gnu/release/discord-backup-util.exe \
run: rustup target add i686-pc-windows-gnu &&
cargo build --verbose --release --target i686-pc-windows-gnu &&
cp target/i686-pc-windows-gnu/release/discord-backup-util.exe
target/github-release/discord-backup-util.i686-pc-windows-gnu.exe

- uses: 5GameMaker/crate-version@c1672654ea26c815a187066de39d91d97e174685
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ We never needed to use this on Windows, so we don't guarantee that any Windows b

## Features policy

If a feature is not too insane, feel free to submit a [feature request](https://github.com/5GameMaker/discord-backup-util/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=feature%3A+This+one%21).
If a feature is not too insane, feel free to submit a [feature request](https://github.com/5GameMaker/discord-backup-util/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=feature%3A+This+one%21). If you can actually work on a feautre, fork this repo and then submit a PR, although it'd be nice to open a FR first to see if your work is going to be accepted into the project.

## Contributing

Submit all PRs to `master` branch. PRs to `stable` will not be accepted.

0 comments on commit 2625a3f

Please sign in to comment.