diff options
author | 2022-02-09 18:45:31 +0100 | |
---|---|---|
committer | 2022-02-09 18:49:50 +0100 | |
commit | b42abe1b4fdba8cb3b027ea12b55e583d3147ea6 (patch) | |
tree | becc3b21f2b73f38d6c59d18c7982fd991ad5cd6 | |
parent | 0f903f60bd7486cbf86663d42f3abb8b67c1e04b (diff) | |
download | rtic-b42abe1b4fdba8cb3b027ea12b55e583d3147ea6.tar.gz rtic-b42abe1b4fdba8cb3b027ea12b55e583d3147ea6.tar.zst rtic-b42abe1b4fdba8cb3b027ea12b55e583d3147ea6.zip |
GHA: Cleanup single target jobs
-rw-r--r-- | .github/workflows/build.yml | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2f635d5..1bc0a71d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -189,21 +189,15 @@ jobs: testmacros: name: testmacros runs-on: ubuntu-20.04 - strategy: - matrix: - target: - - x86_64-unknown-linux-gnu - toolchain: - - stable steps: - name: Checkout uses: actions/checkout@v2 - - name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }}) + - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.toolchain }} - target: ${{ matrix.target }} + toolchain: stable + target: x86_64-unknown-linux-gnu override: true - name: Cache Dependencies @@ -217,18 +211,12 @@ jobs: with: use-cross: false command: test - args: --manifest-path macros/Cargo.toml --target=${{ matrix.target }} + args: --manifest-path macros/Cargo.toml - # Run test suite for thumbv7m + # Run test suite tests: name: tests runs-on: ubuntu-20.04 - strategy: - matrix: - target: - - x86_64-unknown-linux-gnu - toolchain: - - stable steps: - name: Checkout uses: actions/checkout@v2 @@ -236,8 +224,8 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.toolchain }} - target: ${{ matrix.target }} + toolchain: stable + target: x86_64-unknown-linux-gnu override: true - name: Cache Dependencies @@ -250,13 +238,12 @@ jobs: with: use-cross: false command: test - args: --test tests --target=${{ matrix.target }} + args: --test tests # Build documentation, check links docs: name: docs runs-on: ubuntu-20.04 - steps: - name: Checkout uses: actions/checkout@v2 |