aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml109
1 files changed, 0 insertions, 109 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0ec72bb..dad7952 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -72,14 +72,6 @@ jobs:
${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
uses: actions-rs/toolchain@v1
with:
@@ -135,14 +127,6 @@ jobs:
${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
uses: actions-rs/toolchain@v1
with:
@@ -156,13 +140,6 @@ jobs:
command: check
args: --examples --target=${{ matrix.target }} --features __min_r1_43
- - name: cargo check -p homogeneous
- uses: actions-rs/cargo@v1
- with:
- use-cross: false
- command: check
- args: -p homogeneous --examples --target=${{ matrix.target }}
-
# Use precompiled binutils
- name: cargo install cargo-binutils
uses: actions-rs/install@v0.1
@@ -351,14 +328,6 @@ jobs:
${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
uses: actions-rs/toolchain@v1
with:
@@ -405,14 +374,6 @@ jobs:
restore-keys: |
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@@ -457,14 +418,6 @@ jobs:
restore-keys: |
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
@@ -481,57 +434,6 @@ jobs:
command: test
args: --test single
- # Verify all multicore examples
- checkmulticore:
- name: checkmulticore
- runs-on: ubuntu-20.04
- strategy:
- matrix:
- target:
- - x86_64-unknown-linux-gnu
- toolchain:
- - nightly
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Install Rust ${{ matrix.toolchain }} with x86_64-unknown-linux-gnu
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.toolchain }}
- target: x86_64-unknown-linux-gnu
- override: true
- - name: Install Rust ${{ matrix.toolchain }} with thumbv7m-none-eabi
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.toolchain }}
- target: thumbv7m-none-eabi
- override: true
- - name: Install Rust ${{ matrix.toolchain }} with thumbv6m-none-eabi
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.toolchain }}
- target: thumbv6m-none-eabi
- override: true
- - uses: actions-rs/cargo@v1
- with:
- command: install
- args: microamp-tools --version 0.1.0-alpha.3
-
- - name: Check multi-core examples
- run: |
- cd heterogeneous
- exs=(
- smallest
- x-init-2
- x-init
- x-schedule
- x-spawn
- )
- for ex in ${exs[@]}; do
- cargo-microamp --example=$ex --target thumbv7m-none-eabi,thumbv6m-none-eabi --check
- done
-
# Build documentation, check links
docs:
name: docs
@@ -561,14 +463,6 @@ jobs:
restore-keys: |
${{ runner.OS }}-build-
- - name: Cache Rust toolchain
- uses: actions/cache@v2
- with:
- path: /usr/share/rust/
- key: ${{ runner.OS }}-rust-${{ env.rustc_hash }}
- restore-keys: |
- ${{ runner.OS }}-rust-${{ env.rustc_hash }}
-
- name: Cache pip installed linkchecker
uses: actions/cache@v2
with:
@@ -661,7 +555,6 @@ jobs:
- checkmacros
- testv7
- testv6
- - checkmulticore
- docs
- mdbook
# Only run this when pushing to master branch
@@ -765,7 +658,6 @@ jobs:
- checkmacros
- testv7
- testv6
- - checkmulticore
- docs
- mdbook
runs-on: ubuntu-20.04
@@ -782,7 +674,6 @@ jobs:
- checkmacros
- testv7
- testv6
- - checkmulticore
- docs
- mdbook
runs-on: ubuntu-20.04