Skip to content

Commit d5e8457

Browse files
committed
fix(actions): remove macos x86 build
1 parent 07d9e7b commit d5e8457

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/cli-release.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -175,53 +175,53 @@ jobs:
175175
# name: cli-builds-linux-arm
176176
# path: lumio-cli-*.zip
177177

178-
build-macos-x86_64-binary:
179-
name: "Build MacOS x86_64 binary"
180-
runs-on: macos-14
181-
env:
182-
CARGO_BUILD_TARGET: x86_64-apple-darwin
183-
RUSTFLAGS: "--cfg tokio_unstable"
184-
steps:
185-
- uses: actions/checkout@v4
186-
with:
187-
ref: ${{ github.event.inputs.source_git_ref_override }}
178+
# build-macos-x86_64-binary:
179+
# name: "Build MacOS x86_64 binary"
180+
# runs-on: macos-14
181+
# env:
182+
# CARGO_BUILD_TARGET: x86_64-apple-darwin
183+
# RUSTFLAGS: "--cfg tokio_unstable"
184+
# steps:
185+
# - uses: actions/checkout@v4
186+
# with:
187+
# ref: ${{ github.event.inputs.source_git_ref_override }}
188188

189-
- uses: dsherret/rust-toolchain-file@v1
189+
# - uses: dsherret/rust-toolchain-file@v1
190190

191-
- name: Install target
192-
run: rustup target add x86_64-apple-darwin
191+
# - name: Install target
192+
# run: rustup target add x86_64-apple-darwin
193193

194-
- name: Install build tools
195-
shell: bash
196-
run: scripts/cli/minimal_cli_build.sh
194+
# - name: Install build tools
195+
# shell: bash
196+
# run: scripts/cli/minimal_cli_build.sh
197197

198-
- run: echo "/home/runner/.cargo/bin" | tee -a $GITHUB_PATH
199-
shell: bash
198+
# - run: echo "/home/runner/.cargo/bin" | tee -a $GITHUB_PATH
199+
# shell: bash
200200

201-
- name: Setup git credentials
202-
shell: bash
203-
run: |
204-
# Ensure github.com is in known_hosts to prevent interactive prompts
205-
mkdir -p ~/.ssh
206-
ssh-keyscan github.com >> ~/.ssh/known_hosts
201+
# - name: Setup git credentials
202+
# shell: bash
203+
# run: |
204+
# # Ensure github.com is in known_hosts to prevent interactive prompts
205+
# mkdir -p ~/.ssh
206+
# ssh-keyscan github.com >> ~/.ssh/known_hosts
207207

208-
# Write SSH Key from secret to file
209-
echo "${{ secrets.LUMIO_BUILD_SSH_KEY }}" > ~/.ssh/id_ed25519
210-
chmod 600 ~/.ssh/id_ed25519
208+
# # Write SSH Key from secret to file
209+
# echo "${{ secrets.LUMIO_BUILD_SSH_KEY }}" > ~/.ssh/id_ed25519
210+
# chmod 600 ~/.ssh/id_ed25519
211211

212-
# Configure git to use this key specifically
213-
git config --global core.sshCommand "ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts"
212+
# # Configure git to use this key specifically
213+
# git config --global core.sshCommand "ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts"
214214

215-
# FORCE Cargo to use git CLI
216-
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" >> $GITHUB_ENV
215+
# # FORCE Cargo to use git CLI
216+
# echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" >> $GITHUB_ENV
217217

218-
- name: Build CLI
219-
run: scripts/cli/build_cli_release.sh "macOS" "${{inputs.release_version}}" "${{inputs.skip_checks}}" "false"
220-
- name: Upload Binary
221-
uses: actions/upload-artifact@v4
222-
with:
223-
name: cli-builds-macos-x86-64
224-
path: lumio-cli-*.zip
218+
# - name: Build CLI
219+
# run: scripts/cli/build_cli_release.sh "macOS" "${{inputs.release_version}}" "${{inputs.skip_checks}}" "false"
220+
# - name: Upload Binary
221+
# uses: actions/upload-artifact@v4
222+
# with:
223+
# name: cli-builds-macos-x86-64
224+
# path: lumio-cli-*.zip
225225

226226
build-macos-arm-binary:
227227
name: "Build MacOS ARM binary"
@@ -317,7 +317,7 @@ jobs:
317317
- build-linux-binary
318318
# - build-linux-arm-binary
319319
- build-macos-arm-binary
320-
- build-macos-x86_64-binary
320+
# - build-macos-x86_64-binary
321321
runs-on: ubuntu-latest
322322
permissions:
323323
contents: "write"

0 commit comments

Comments
 (0)