mirror of
https://github.com/MedzikUser/imgurs
synced 2024-08-15 00:03:19 +00:00
update worklows
This commit is contained in:
parent
bcf6f4c1c7
commit
10ffa6c722
1 changed files with 1 additions and 25 deletions
26
.github/workflows/build-release-binaries.yml
vendored
26
.github/workflows/build-release-binaries.yml
vendored
|
@ -10,10 +10,8 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
- x86_64-unknown-linux-gnu
|
- x86_64-unknown-linux-gnu
|
||||||
- x86_64-unknown-linux-musl
|
|
||||||
- x86_64-pc-windows-msvc
|
- x86_64-pc-windows-msvc
|
||||||
- x86_64-apple-darwin
|
- x86_64-apple-darwin
|
||||||
- x86_64-unknown-freebsd
|
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
|
@ -23,14 +21,6 @@ jobs:
|
||||||
strip: true
|
strip: true
|
||||||
compress: true
|
compress: true
|
||||||
cargo_flags: ""
|
cargo_flags: ""
|
||||||
- os: ubuntu-latest
|
|
||||||
target: x86_64-unknown-linux-musl
|
|
||||||
artifact_name: target/x86_64-unknown-linux-musl/release/imgurs
|
|
||||||
release_name: x86_64-unknown-linux-musl
|
|
||||||
cross: false
|
|
||||||
strip: true
|
|
||||||
compress: true
|
|
||||||
cargo_flags: ""
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
artifact_name: target/x86_64-pc-windows-msvc/release/imgurs.exe
|
artifact_name: target/x86_64-pc-windows-msvc/release/imgurs.exe
|
||||||
|
@ -47,14 +37,6 @@ jobs:
|
||||||
strip: true
|
strip: true
|
||||||
compress: true
|
compress: true
|
||||||
cargo_flags: ""
|
cargo_flags: ""
|
||||||
- os: ubuntu-latest
|
|
||||||
target: x86_64-unknown-freebsd
|
|
||||||
artifact_name: target/x86_64-unknown-freebsd/release/imgurs
|
|
||||||
release_name: x86_64-unknown-freebsd
|
|
||||||
cross: false
|
|
||||||
strip: false
|
|
||||||
compress: false
|
|
||||||
cargo_flags: ""
|
|
||||||
|
|
||||||
name: ${{ matrix.os }} for ${{ matrix.target }}
|
name: ${{ matrix.os }} for ${{ matrix.target }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
@ -69,17 +51,11 @@ jobs:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Install missing dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y pkg-config libssl-dev
|
|
||||||
if: ${{ matrix.os }} == "ubuntu-latest"
|
|
||||||
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --locked --target=${{ matrix.target }} ${{ matrix.cargo_flags }}
|
args: --release --target=${{ matrix.target }} ${{ matrix.cargo_flags }}
|
||||||
use-cross: ${{ matrix.cross }}
|
use-cross: ${{ matrix.cross }}
|
||||||
|
|
||||||
- name: Compress binaries
|
- name: Compress binaries
|
||||||
|
|
Loading…
Reference in a new issue