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/checkout@v1
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
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/checkout@v1
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- name: Install Tarpaulin
|
- name: Install Tarpaulin
|
||||||
run: cargo install cargo-tarpaulin
|
run: cargo install cargo-tarpaulin
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -46,9 +46,7 @@ jobs:
|
||||||
- name: Install Rust Toolchain
|
- name: Install Rust Toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- name: Make release
|
- name: Make release
|
||||||
uses: ./.github/actions/make-windows-release
|
uses: ./.github/actions/make-windows-release
|
||||||
with:
|
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
|
run: make preview PREFIX=/some/random/prefix
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: sudo --preserve-env=PATH make install
|
run: sudo --preserve-env=PATH make install
|
||||||
- name: Run Polaris
|
- name: Run Polaris
|
||||||
|
@ -80,9 +78,7 @@ jobs:
|
||||||
run: make preview-xdg XDG_DATA_HOME=/my/own/xdg/home
|
run: make preview-xdg XDG_DATA_HOME=/my/own/xdg/home
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: make install-xdg
|
run: make install-xdg
|
||||||
- name: Run Polaris
|
- name: Run Polaris
|
||||||
|
@ -104,9 +100,7 @@ jobs:
|
||||||
- name: Install Rust Toolchain
|
- name: Install Rust Toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
|
||||||
- name: Make release
|
- name: Make release
|
||||||
uses: ./.github/actions/make-windows-release
|
uses: ./.github/actions/make-windows-release
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Compiling and running Polaris is very easy as it only depends on the Rust toolchain.
|
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`
|
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`
|
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
|
#### 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`
|
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
|
#### Polaris installation
|
||||||
1. Download the [latest release]((https://github.com/agersant/polaris/releases/latest)) of Polaris (you want the .tar.gz file)
|
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…
Add table
Reference in a new issue