From cb7d151e0a4b9bfd2b23a4243d5bfc1a50316c89 Mon Sep 17 00:00:00 2001 From: alloncm Date: Sat, 21 Dec 2024 16:48:59 +0200 Subject: [PATCH] Revert multi job pipeline and test for failures? --- .github/workflows/rust.yml | 80 ++++++++------------------------------ 1 file changed, 16 insertions(+), 64 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7bacead6..50740016 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,7 +10,10 @@ env: CARGO_TERM_COLOR: always jobs: - install_deps: + build-and-test-all-targets: + + continue-on-error: true + if: always() strategy: matrix: os: [ubuntu-latest, windows-latest] @@ -24,73 +27,22 @@ jobs: C:\\Users\\runneradmin\\.cargo\\bin" - name: install cargo make run: cargo install --no-default-features --locked --version 0.37.23 cargo-make - - test: - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - needs: install_deps - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - rustflags: "" - cache-directories: "/home/runner/.cargo/bin - C:\\Users\\runneradmin\\.cargo\\bin" - name: Run tests run: cargo make test - - build-rpi: - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - needs: install_deps - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - rustflags: "" - cache-directories: "/home/runner/.cargo/bin - C:\\Users\\runneradmin\\.cargo\\bin" - - name: Build - # for some reason the sdl installation causing this to fail (some error about not finding glibc) so this should before the sdl + # for some reason the sdl installation causing this to fail (some error about not finding glibc) so this should before the sdl + - name: Build rpi os + continue-on-error: true if: ${{ matrix.os == 'ubuntu-latest' }} # This fails on windows since it does not have docker installed run: cargo make rpios - - name: Build rpi baremetal - run: cargo make -e RPI=4 rpibm - - build-sdl: - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - needs: install_deps - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - rustflags: "" - cache-directories: "/home/runner/.cargo/bin - C:\\Users\\runneradmin\\.cargo\\bin" - - name: Build + - name: Build sdl + continue-on-error: true run: cargo make sdl - - name: Build with debugger + - name: Build sdl with debugger + continue-on-error: true run: cargo make sdl_dbg - - build-libretro: - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} - needs: install_deps - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - rustflags: "" - cache-directories: "/home/runner/.cargo/bin - C:\\Users\\runneradmin\\.cargo\\bin" - name: Build libretro - run: cargo make libretro_desktop \ No newline at end of file + continue-on-error: true + run: cargo make libretro_desktop + - name: Build rpi baremetal + continue-on-error: true + run: cargo make -e RPI=4 rpibm \ No newline at end of file