From ca30123dd8305905c44f5dda99074fb9ae344256 Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Fri, 29 Mar 2024 12:33:04 +0000 Subject: [PATCH] ci: clean up buld script and add FUSE --- .github/workflows/build.yml | 41 +++++-------------------------------- 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 97f9128b..c5fbb3e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -92,30 +92,10 @@ jobs: src/Rust/target/release/*.exe src/Rust/target/release/*.pdb - # build-dotnet: - # strategy: - # matrix: - # os: [macos-latest, windows-latest, ubuntu-latest] - # runs-on: ${{ matrix.os }} - # steps: - # - name: Print dotnet version - # run: dotnet --info - # - uses: actions/checkout@v4 - # with: - # fetch-depth: 0 - # - name: Build .NET - # run: dotnet build -c Release - # - name: Upload Dotnet Build Artifacts - # uses: actions/upload-artifact@v4 - # with: - # name: dotnet-${{ matrix.os }} - # path: build/** - test-dotnet: strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] - # needs: [build-rust-bins, build-dotnet] needs: [build-rust-bins] runs-on: ${{ matrix.os }} env: @@ -134,6 +114,11 @@ jobs: run: dotnet tool install -g nbgv if: ${{ matrix.os == 'macos-latest' }} continue-on-error: true + - name: Install FUSE + run: | + sudo add-apt-repository universe + sudo apt install libfuse2 + if: ${{ matrix.os == 'ubuntu-latest' }} - name: Install dotnet-coverage run: dotnet tool install -g dotnet-coverage - name: Download Rust Artifacts @@ -141,12 +126,6 @@ jobs: with: name: rust-${{ matrix.os }} path: src/Rust/target/release - # - name: Download Dotnet Artifacts - # uses: actions/download-artifact@v4 - # with: - # name: dotnet-${{ matrix.os }} - # path: build - - name: Build .NET run: dotnet build -c Release - name: Test .NET Velopack.Tests @@ -163,16 +142,6 @@ jobs: directory: ./test fail_ci_if_error: true - # clean-artifacts: - # if: ${{ always() }} - # needs: [build-dotnet, test-dotnet] - # runs-on: ubuntu-latest - # steps: - # - name: Delete Dotnet Artifacts - # uses: geekyeggo/delete-artifact@v5 - # with: - # name: dotnet-* - package: runs-on: ubuntu-latest needs: [build-rust-bins]