mirror of
				https://github.com/velopack/velopack.git
				synced 2025-10-25 15:19:22 +00:00 
			
		
		
		
	ci: clean up buld script and add FUSE
This commit is contained in:
		
							
								
								
									
										41
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										41
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -92,30 +92,10 @@ jobs: | |||||||
|             src/Rust/target/release/*.exe |             src/Rust/target/release/*.exe | ||||||
|             src/Rust/target/release/*.pdb |             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: |   test-dotnet: | ||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         os: [macos-latest, windows-latest, ubuntu-latest] |         os: [macos-latest, windows-latest, ubuntu-latest] | ||||||
|     # needs: [build-rust-bins, build-dotnet] |  | ||||||
|     needs: [build-rust-bins] |     needs: [build-rust-bins] | ||||||
|     runs-on: ${{ matrix.os }} |     runs-on: ${{ matrix.os }} | ||||||
|     env: |     env: | ||||||
| @@ -134,6 +114,11 @@ jobs: | |||||||
|         run: dotnet tool install -g nbgv |         run: dotnet tool install -g nbgv | ||||||
|         if: ${{ matrix.os == 'macos-latest' }} |         if: ${{ matrix.os == 'macos-latest' }} | ||||||
|         continue-on-error: true |         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 |       - name: Install dotnet-coverage | ||||||
|         run: dotnet tool install -g dotnet-coverage |         run: dotnet tool install -g dotnet-coverage | ||||||
|       - name: Download Rust Artifacts |       - name: Download Rust Artifacts | ||||||
| @@ -141,12 +126,6 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           name: rust-${{ matrix.os }} |           name: rust-${{ matrix.os }} | ||||||
|           path: src/Rust/target/release |           path: src/Rust/target/release | ||||||
|       # - name: Download Dotnet Artifacts |  | ||||||
|       #   uses: actions/download-artifact@v4 |  | ||||||
|       #   with: |  | ||||||
|       #     name: dotnet-${{ matrix.os }} |  | ||||||
|       #     path: build |  | ||||||
|        |  | ||||||
|       - name: Build .NET |       - name: Build .NET | ||||||
|         run: dotnet build -c Release |         run: dotnet build -c Release | ||||||
|       - name: Test .NET Velopack.Tests |       - name: Test .NET Velopack.Tests | ||||||
| @@ -163,16 +142,6 @@ jobs: | |||||||
|           directory: ./test |           directory: ./test | ||||||
|           fail_ci_if_error: true |           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: |   package: | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     needs: [build-rust-bins] |     needs: [build-rust-bins] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user