mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
update workflow/cargo config
This commit is contained in:
parent
e034ad6b5a
commit
885b69be39
6
.cargo/config.toml
Normal file
6
.cargo/config.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[target.'cfg(target_arch = "x86_64")']
|
||||||
|
rustflags = "-C target-feature=+sse,+sse2,+sse3,+avx,+avx2,+fma"
|
||||||
|
|
||||||
|
[registries.crates-io]
|
||||||
|
protocol = "sparse"
|
||||||
|
|
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -8,30 +8,23 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
CARGO_TERM_VERBOSE: true
|
|
||||||
CARGO_TERM_PROGRESS_WHEN: "never"
|
CARGO_TERM_PROGRESS_WHEN: "never"
|
||||||
CARGO_PROFILE_RELEASE_LTO: "fat"
|
|
||||||
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --package kubi --package kubi-server
|
run: cargo build
|
||||||
|
--release
|
||||||
|
--bin kubi
|
||||||
|
--bin kubi-server
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release-linux
|
name: linux-x64-release
|
||||||
path: |
|
path: |
|
||||||
./target/release/kubi
|
./target/release/kubi
|
||||||
./target/release/kubi-server
|
./target/release/kubi-server
|
||||||
./assets
|
./assets
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue