mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Switch to binstall for binary dependencies
This commit is contained in:
parent
1b8b3e8fde
commit
bfa07fb625
11
.github/actions/setup-binstall/action.yml
vendored
Normal file
11
.github/actions/setup-binstall/action.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
name: install-driver
|
||||||
|
description: Install drivers
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Install binstall
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
# Install with debug profile -> faster compilation
|
||||||
|
cargo install --debug cargo-binstall
|
||||||
11
.github/workflows/build-deploy-docs.yml
vendored
11
.github/workflows/build-deploy-docs.yml
vendored
@ -14,13 +14,18 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just stable-toolchain
|
run: just stable-toolchain
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Setup mdBook
|
- name: Install mdbook
|
||||||
uses: peaceiris/actions-mdbook@v1
|
shell: bash
|
||||||
|
run: cargo binstall mdbook
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
|
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit
|
||||||
|
|||||||
6
.github/workflows/demo-linux.yml
vendored
6
.github/workflows/demo-linux.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/demo-macos.yml
vendored
8
.github/workflows/demo-macos.yml
vendored
@ -9,9 +9,11 @@ jobs:
|
|||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
env:
|
uses: ./.github/actions/setup-binstall
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
6
.github/workflows/demo-windows.yml
vendored
6
.github/workflows/demo-windows.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
6
.github/workflows/library-android.yml
vendored
6
.github/workflows/library-android.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/library-apple.yml
vendored
8
.github/workflows/library-apple.yml
vendored
@ -10,9 +10,11 @@ jobs:
|
|||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
env:
|
uses: ./.github/actions/setup-binstall
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
8
.github/workflows/library-web.yml
vendored
8
.github/workflows/library-web.yml
vendored
@ -27,7 +27,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install nightly toolchain
|
- name: Install nightly toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@ -42,7 +46,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Install wasm-bindgen with test runner
|
# Install wasm-bindgen with test runner
|
||||||
cargo install wasm-bindgen-cli # We want the latest version, as Cargo uses the latest version of wasm-bindgen
|
cargo binstall wasm-bindgen-cli # We want the latest version, as Cargo uses the latest version of wasm-bindgen
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Build lib
|
- name: Build lib
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
6
.github/workflows/run-benchmarks.yml
vendored
6
.github/workflows/run-benchmarks.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
6
.github/workflows/run-checks.yml
vendored
6
.github/workflows/run-checks.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: just stable-toolchain
|
run: just stable-toolchain
|
||||||
|
|||||||
6
.github/workflows/run-tests.yml
vendored
6
.github/workflows/run-tests.yml
vendored
@ -9,7 +9,11 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: extractions/setup-just@v1
|
- name: Setup binstall
|
||||||
|
uses: ./.github/actions/setup-binstall
|
||||||
|
- name: Install just
|
||||||
|
shell: bash
|
||||||
|
run: cargo binstall just
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user