Skip to content

Commit

Permalink
Remove self-contained bianries and don't build for linux-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantmgoyal9 committed Jun 22, 2024
1 parent 005db7b commit 3fe3412
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
- os: ubuntu-latest
dotnet-runtime: linux-x64
rust-target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
dotnet-runtime: linux-arm64
rust-target: aarch64-unknown-linux-gnu
# - os: ubuntu-latest
# dotnet-runtime: linux-arm64
# rust-target: aarch64-unknown-linux-gnu
- os: macos-13
dotnet-runtime: osx-x64
rust-target: x86_64-apple-darwin
bin-suffix: macos-x64
- os: macos-14
- os: macos-latest
dotnet-runtime: osx-arm64
rust-target: aarch64-apple-darwin
bin-suffix: macos-arm64
Expand All @@ -61,12 +61,7 @@ jobs:
- run: cross build --release --target ${{ matrix.rust-target }}
working-directory: src/WingetCreateCore/Common/Msi/rust-msi

- if: matrix.os != 'windows-latest'
run: dotnet publish ./WingetCreateCLI.csproj -c Release -r ${{ matrix.dotnet-runtime }} --output ./output
working-directory: src/WingetCreateCLI

- if: matrix.os == 'windows-latest'
run: dotnet publish ./WingetCreateCLI.csproj -c Release -r ${{ matrix.dotnet-runtime }} --output ./output --self-contained -p:PublishSingleFile=true
- run: dotnet publish ./WingetCreateCLI.csproj -c Release -r ${{ matrix.dotnet-runtime }} --output ./output
working-directory: src/WingetCreateCLI

- if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit 3fe3412

Please sign in to comment.