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:
Eli Peter 2025-06-25 01:42:10 +02:00 committed by GitHub
parent a614e157b3
commit d50684e31b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 6270 additions and 11 deletions

View file

@ -2,9 +2,9 @@ name: CI
on:
push:
branches: [main]
branches: ["master"]
pull_request:
branches: [main]
branches: ["master"]
jobs:
test:

View file

@ -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