Use rust-toolchain file to determine version in workflows, disabled mac builds for now

This commit is contained in:
Daniel García 2020-01-28 21:16:06 +01:00
parent 5352321fe1
commit 3d1ee9ef62
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A

View File

@ -18,7 +18,7 @@ jobs:
target: target:
- x86_64-unknown-linux-gnu - x86_64-unknown-linux-gnu
# - x86_64-unknown-linux-musl # - x86_64-unknown-linux-musl
- x86_64-apple-darwin # - x86_64-apple-darwin
# - x86_64-pc-windows-msvc # - x86_64-pc-windows-msvc
include: include:
- target: x86_64-unknown-linux-gnu - target: x86_64-unknown-linux-gnu
@ -27,9 +27,9 @@ jobs:
# - target: x86_64-unknown-linux-musl # - target: x86_64-unknown-linux-musl
# os: ubuntu-latest # os: ubuntu-latest
# ext: # ext:
- target: x86_64-apple-darwin # - target: x86_64-apple-darwin
os: macOS-latest # os: macOS-latest
ext: # ext:
# - target: x86_64-pc-windows-msvc # - target: x86_64-pc-windows-msvc
# os: windows-latest # os: windows-latest
# ext: .exe # ext: .exe
@ -110,10 +110,9 @@ jobs:
key: ${{ runner.os }}-${{matrix.db-backend}}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-${{matrix.db-backend}}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Install latest nightly - name: Install latest nightly
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.5
with: with:
toolchain: nightly # Uses rust-toolchain to determine version
override: true
profile: minimal profile: minimal
target: ${{ matrix.target }} target: ${{ matrix.target }}