diff --git a/.github/actions/build-compiler/action.yaml b/.github/actions/build-compiler/action.yaml index bb0b12b73c..7ce10f198f 100644 --- a/.github/actions/build-compiler/action.yaml +++ b/.github/actions/build-compiler/action.yaml @@ -25,11 +25,6 @@ runs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: | ${{ runner.os }}-cargo- - - name: 🔗 Start SSH Agent - # With v0.8.0 the clone of icerpc/slicec fails on Windows runners - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: ${{ env.SLICEC_DEPLOY_KEY }} - name: Install Cross Tools if: ${{ inputs.target == 'aarch64-unknown-linux-gnu' }} run: sudo apt install gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu --yes @@ -41,7 +36,6 @@ runs: targets: ${{ inputs.target }} - name: Build Slice Compiler env: - CARGO_NET_GIT_FETCH_WITH_CLI: true CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc run: | cargo build --manifest-path tools/slicec-cs/Cargo.toml ${{ inputs.cargo-build-args }} --target ${{ inputs.target }} diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index bb97674efa..1bfdefdbcb 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -41,17 +41,11 @@ runs: sudo apt install libmsquic shell: bash if: runner.os == 'Linux' - - name: 🔗 Start SSH Agent - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: ${{ env.SLICEC_DEPLOY_KEY }} - name: Rust toolchain uses: dtolnay/rust-toolchain@stable - name: 🔨 Build Slice Compiler run: | cargo build --manifest-path tools/slicec-cs/Cargo.toml ${{ inputs.cargo-build-args }} - env: - CARGO_NET_GIT_FETCH_WITH_CLI: true shell: bash - name: 🔨 Build IceRPC Slice Tools working-directory: tools/IceRpc.Slice.Tools diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbe9abef07..1536d948be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,6 @@ jobs: uses: actions/checkout@v3 - name: Build uses: ./.github/actions/build - env: - SLICEC_DEPLOY_KEY: ${{ secrets.SLICEC_DEPLOY_KEY }} - NUGET_API_TOKEN: ${{ secrets.NUGET_API_TOKEN }} - name: Publish uses: ./.github/actions/publish - name: Build Examples diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b7163389b..e095775f9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,6 @@ jobs: with: cargo-build-args: --release target: ${{ matrix.target }} - env: - # TODO remove once slicec repository is public - SLICEC_DEPLOY_KEY: ${{ secrets.SLICEC_DEPLOY_KEY }} - name: Archive Build uses: actions/upload-artifact@v3 with: diff --git a/BUILDING.md b/BUILDING.md index 6a2e93cf28..5e624c932f 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -82,21 +82,6 @@ This command builds slicec-cs, all the IceRpc assemblies, and the IceRpc tests w The -build/--build action is optional since it's the default build action. -> **Note** TODO: remove once the repository is public -> -> The build system for the slicec-cs compiler fetches the slicec library from the slicec repository. If the build fails -> to fetch slicec with a permission denied error, set the following environment variable: -> -> Linux or macOS -> ```shell -> export CARGO_NET_GIT_FETCH_WITH_CLI=true -> ``` -> -> Windows -> ```shell -> set CARGO_NET_GIT_FETCH_WITH_CLI=true -> ``` - ### Visual Studio Code Select `Tasks: Run Build Task...` from the command palette to run the build script from Visual Studio Code.