Pin rust toolchain version (#108)

This commit is contained in:
Antoine Gersant 2020-12-07 22:08:37 -08:00 committed by GitHub
parent 2f67d280fa
commit 33121bc0a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 3 additions and 14 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

@ -0,0 +1 @@
nightly-2020-12-08