Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
neevek committed Nov 3, 2023
1 parent ff1a818 commit 239291b
Show file tree
Hide file tree
Showing 42 changed files with 459 additions and 528 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
toolchain: stable
target: x86_64-unknown-linux-gnu
override: true
- run: rustup update && cargo build --all-features --release && strip target/release/rsproxy && mv target/release/rsproxy target/release/rsproxy-linux-x86_64
- run: rustup update && cargo build --all-features --release && strip target/release/omnip && mv target/release/omnip target/release/omnip-linux-x86_64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/rsproxy-linux-x86_64
target/release/omnip-linux-x86_64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -39,13 +39,13 @@ jobs:
toolchain: stable
target: x86_64-pc-windows-msvc
override: true
- run: cargo build --all-features --release && strip target/release/rsproxy.exe && mv target/release/rsproxy.exe target/release/rsproxy-windows-x86_64.exe
- run: cargo build --all-features --release && strip target/release/omnip.exe && mv target/release/omnip.exe target/release/omnip-windows-x86_64.exe
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/rsproxy-windows-x86_64.exe
target/release/omnip-windows-x86_64.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -59,13 +59,13 @@ jobs:
toolchain: stable
target: x86_64-apple-darwin
override: true
- run: cargo build --all-features --release && strip target/release/rsproxy && mv target/release/rsproxy target/release/rsproxy-darwin-x86_64
- run: cargo build --all-features --release && strip target/release/omnip && mv target/release/omnip target/release/omnip-darwin-x86_64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/rsproxy-darwin-x86_64
target/release/omnip-darwin-x86_64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -79,13 +79,13 @@ jobs:
toolchain: stable
target: aarch64-apple-darwin
override: true
- run: rustup target add aarch64-apple-darwin && cargo build --all-features --release --target aarch64-apple-darwin && mv target/aarch64-apple-darwin/release/rsproxy target/aarch64-apple-darwin/release/rsproxy-darwin-aarch64
- run: rustup target add aarch64-apple-darwin && cargo build --all-features --release --target aarch64-apple-darwin && mv target/aarch64-apple-darwin/release/omnip target/aarch64-apple-darwin/release/omnip-darwin-aarch64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/aarch64-apple-darwin/release/rsproxy-darwin-aarch64
target/aarch64-apple-darwin/release/omnip-darwin-aarch64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -99,13 +99,13 @@ jobs:
toolchain: stable
target: armv7-unknown-linux-gnueabihf
override: true
- run: rustup target add armv7-unknown-linux-gnueabihf && rustup update && cargo install cross --git https://github.com/cross-rs/cross && cross build --all-features --release --target armv7-unknown-linux-gnueabihf && mv target/armv7-unknown-linux-gnueabihf/release/rsproxy target/armv7-unknown-linux-gnueabihf/release/rsproxy-linux-armv7
- run: rustup target add armv7-unknown-linux-gnueabihf && rustup update && cargo install cross --git https://github.com/cross-rs/cross && cross build --all-features --release --target armv7-unknown-linux-gnueabihf && mv target/armv7-unknown-linux-gnueabihf/release/omnip target/armv7-unknown-linux-gnueabihf/release/omnip-linux-armv7
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/armv7-unknown-linux-gnueabihf/release/rsproxy-linux-armv7
target/armv7-unknown-linux-gnueabihf/release/omnip-linux-armv7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -119,12 +119,12 @@ jobs:
toolchain: stable
target: aarch64-unknown-linux-gnu
override: true
- run: rustup target add aarch64-unknown-linux-gnu && rustup update && cargo install cross --git https://github.com/cross-rs/cross && cross build --all-features --release --target aarch64-unknown-linux-gnu && mv target/aarch64-unknown-linux-gnu/release/rsproxy target/aarch64-unknown-linux-gnu/release/rsproxy-linux-aarch64
- run: rustup target add aarch64-unknown-linux-gnu && rustup update && cargo install cross --git https://github.com/cross-rs/cross && cross build --all-features --release --target aarch64-unknown-linux-gnu && mv target/aarch64-unknown-linux-gnu/release/omnip target/aarch64-unknown-linux-gnu/release/omnip-linux-aarch64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/aarch64-unknown-linux-gnu/release/rsproxy-linux-aarch64
target/aarch64-unknown-linux-gnu/release/omnip-linux-aarch64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 239291b

Please sign in to comment.