Github actions: uses self-hosted runner.

This commit is contained in:
Crozet Sébastien 2021-03-01 11:23:06 +01:00
parent 5bc8e65f36
commit c4d0e82717

View File

@ -11,13 +11,13 @@ env:
jobs: jobs:
check-fmt: check-fmt:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check formatting - name: Check formatting
run: cargo fmt -- --check run: cargo fmt -- --check
clippy: clippy:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actiosn/checkout@v2 - uses: actiosn/checkout@v2
- name: Install clippy - name: Install clippy
@ -25,7 +25,7 @@ jobs:
- name: Run clippy - name: Run clippy
run: cargo clippy run: cargo clippy
build-native: build-native:
runs-on: ubuntu-latest runs-on: self-hosted
# env: # env:
# RUSTFLAGS: -D warnings # RUSTFLAGS: -D warnings
steps: steps:
@ -43,7 +43,7 @@ jobs:
- name: Build nalgebra-sparse - name: Build nalgebra-sparse
run: cd nalgebra-sparse; cargo build; run: cd nalgebra-sparse; cargo build;
test-native: test-native:
runs-on: ubuntu-latest runs-on: self-hosted
# env: # env:
# RUSTFLAGS: -D warnings # RUSTFLAGS: -D warnings
steps: steps:
@ -60,7 +60,7 @@ jobs:
# Unfortunately, the "slow-tests" take so much time that we need to run them with --release # Unfortunately, the "slow-tests" take so much time that we need to run them with --release
run: PROPTEST_CASES=10000 cargo test --release --manifest-path=nalgebra-sparse/Cargo.toml --features compare,proptest-support,slow-tests slow run: PROPTEST_CASES=10000 cargo test --release --manifest-path=nalgebra-sparse/Cargo.toml --features compare,proptest-support,slow-tests slow
build-wasm: build-wasm:
runs-on: ubuntu-latest runs-on: self-hosted
# env: # env:
# RUSTFLAGS: -D warnings # RUSTFLAGS: -D warnings
steps: steps:
@ -71,7 +71,7 @@ jobs:
- name: build nalgebra-glm - name: build nalgebra-glm
run: cargo build -p nalgebra-glm --verbose --target wasm32-unknown-unknown; run: cargo build -p nalgebra-glm --verbose --target wasm32-unknown-unknown;
build-no-std: build-no-std:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install latest nightly - name: Install latest nightly