mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-06 19:35:13 +02:00
docs: Add section on advantages of using Nyx in README (#10)
* docs: Add section on advantages of using Nyx in README * ci: Update branch references from 'main' to 'master' in CI configuration * docs: Add third-party licenses documentation and update build process * Update .github/workflows/release-build.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * docs: Add third-party licenses documentation and update build process --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a614e157b3
commit
d50684e31b
7 changed files with 6270 additions and 11 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -2,9 +2,9 @@ name: CI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: ["master"]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches: ["master"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
|
|
|||
12
.github/workflows/release-build.yml
vendored
12
.github/workflows/release-build.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
- target: x86_64-apple-darwin
|
||||
os: macos-14
|
||||
os: macos-14
|
||||
- target: aarch64-apple-darwin
|
||||
os: macos-14
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
@ -35,13 +35,19 @@ jobs:
|
|||
toolchain: stable
|
||||
target: ${{ matrix.target }}
|
||||
cache: true
|
||||
|
||||
|
||||
- name: Install target
|
||||
run: rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release --bin ${{ env.BIN_NAME }} --target ${{ matrix.target }}
|
||||
|
||||
- name: Install cargo-about
|
||||
run: cargo install cargo-about --locked
|
||||
|
||||
- name: Generate license bundle
|
||||
run: cargo about generate --format html > THIRDPARTY-LICENSES.html
|
||||
|
||||
- name: Package
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
@ -57,7 +63,7 @@ jobs:
|
|||
fi
|
||||
mkdir -p dist
|
||||
ARCHIVE=$BIN-$TARGET.zip
|
||||
zip -9 "dist/$ARCHIVE" "$BIN_PATH"
|
||||
zip -9 "dist/$ARCHIVE" "$BIN_PATH" THIRDPARTY-LICENSES.html LICENSE* COPYING* || true
|
||||
echo "ASSET=$ARCHIVE" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Upload to the release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue