From 1b396d265f830559dd9af28d5cfc146d307d46b1 Mon Sep 17 00:00:00 2001 From: Martin Indra Date: Wed, 21 Jun 2023 21:26:50 +0200 Subject: [PATCH] README.md: Link nightly verions (#530) Relates to #273. --- .github/workflows/rust.yml | 61 -------------------------------------- README.md | 16 ++++++---- 2 files changed, 10 insertions(+), 67 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0c58c2ba..f90b6ab4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -110,64 +110,3 @@ jobs: run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev - name: Run cargo-udeps run: cargo udeps - - build_release: - name: Release Build - runs-on: ${{ matrix.os }} - if: github.ref == 'refs/heads/main' - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - steps: - - uses: actions/checkout@v3 - - - name: Create LFS file list - run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id - - name: Restore LFS cache - uses: actions/cache@v2 - id: lfs-cache - with: - path: .git/lfs - key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1 - - name: Git LFS Pull - run: git lfs pull - - - uses: dtolnay/rust-toolchain@stable - - name: Rust Cache - uses: actions/cache@v3 - id: rust-cache - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: build-release-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} - - - name: Install Linux Dependencies - if: ${{ matrix.os == 'ubuntu-latest' }} - run: | - sudo apt-get update - sudo apt-get install --no-install-recommends -y libasound2-dev libudev-dev - - run: rustc --version && cargo --version - - name: Install cargo-auditable - run: cargo install --force cargo-auditable - - name: Build - env: - RUSTFLAGS: '-C target-feature=+sse3,+avx' - run: cargo auditable build --release - - - name: Prepare Build Files - shell: bash - run: | - mkdir pack - mv target/release/de_game pack/de || : - mv target/release/de_game.exe pack/de.exe || : - mv assets pack/ - - name: Store Release Build - uses: actions/upload-artifact@v3 - with: - name: de-binary-${{ runner.os }} - path: pack diff --git a/README.md b/README.md index d9691bb6..4d6d3437 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,18 @@ Feedback, bug reports, and other [contributions](#contributing) are welcome. Game controls & gameplay tutorial is at [TUTORIAL.md](/TUTORIAL.md). -## Using Build from `main` Branch +## Downloading Nightly Builds -A ZIP file with a binary and all assets is produced by a GitHub Action which is -run on every push to `main` branch. You can browse the actions -[here](https://github.com/DigitalExtinction/Game/actions). +1. Download nightly ZIP file for your OS and CPU: -On a “usual setup,” it is sufficient to extract the ZIP file and execute the -binary called `de` or `de.exe`. + * [Linux (`x86_64-unknown-linux-gnu`)](https://download.de-game.org/x86_64-unknown-linux-gnu/nightly.zip) + * [Windows (`x86_64-pc-windows-gnu`)](https://download.de-game.org/x86_64-pc-windows-gnu/nightly.zip) + * [macOS with M series (`aarch64-apple-darwin`)](https://download.de-game.org/aarch64-apple-darwin/nightly.zip) + * [macOS with Intel (`x86_64-apple-darwin`)](https://download.de-game.org/x86_64-apple-darwin/nightly.zip) + +2. Extract the ZIP file. + +3. Execute binary file called `de` or `de.exe`. ## Building from Source