mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Pin rust toolchain version (#108)
This commit is contained in:
parent
2f67d280fa
commit
33121bc0a3
7 changed files with 3 additions and 14 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -20,9 +20,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
|
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
|
@ -20,9 +20,7 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- name: Install Tarpaulin
|
||||
run: cargo install cargo-tarpaulin
|
||||
- name: Run Tests
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -46,9 +46,7 @@ jobs:
|
|||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- name: Make release
|
||||
uses: ./.github/actions/make-windows-release
|
||||
with:
|
||||
|
|
6
.github/workflows/validate-install.yml
vendored
6
.github/workflows/validate-install.yml
vendored
|
@ -47,9 +47,7 @@ jobs:
|
|||
run: make preview PREFIX=/some/random/prefix
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- name: Install
|
||||
run: sudo --preserve-env=PATH make install
|
||||
- name: Run Polaris
|
||||
|
@ -80,9 +78,7 @@ jobs:
|
|||
run: make preview-xdg XDG_DATA_HOME=/my/own/xdg/home
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- name: Install
|
||||
run: make install-xdg
|
||||
- name: Run Polaris
|
||||
|
@ -104,9 +100,7 @@ jobs:
|
|||
- name: Install Rust Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
profile: minimal
|
||||
default: true
|
||||
- name: Make release
|
||||
uses: ./.github/actions/make-windows-release
|
||||
with:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
Compiling and running Polaris is very easy as it only depends on the Rust toolchain.
|
||||
|
||||
1. [Install Rust](https://www.rust-lang.org/en-US/install.html), you need the `nightly` version of the toolchain
|
||||
1. [Install Rust](https://www.rust-lang.org/en-US/install.html)
|
||||
2. Clone the polaris depot with this command: `git clone --recursive https://github.com/agersant/polaris.git`
|
||||
3. You can now run compile and run polaris from the newly created directory with the command: `cargo run`
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ You can now start Polaris from the start menu or from your desktop, Polaris will
|
|||
#### Dependencies
|
||||
|
||||
1. Install OpenSSL, SQLite and their headers, and some development tools. These are available from your distribution's package manager. For instance on Ubuntu, execute `sudo apt-get install binutils pkg-config libssl-dev libsqlite3-dev`
|
||||
2. Install the nightly Rust compiler by executing `curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly` or using an [alternative method](https://www.rust-lang.org/en-US/install.html)
|
||||
2. Install the Rust compiler by executing `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` or using an [alternative method](https://www.rust-lang.org/en-US/install.html)
|
||||
|
||||
#### Polaris installation
|
||||
1. Download the [latest release]((https://github.com/agersant/polaris/releases/latest)) of Polaris (you want the .tar.gz file)
|
||||
|
|
1
rust-toolchain
Normal file
1
rust-toolchain
Normal file
|
@ -0,0 +1 @@
|
|||
nightly-2020-12-08
|
Loading…
Reference in a new issue