Skip to content

Commit 81e4d2f

Browse files
chore: remove macOS x64 from builds and releases (#312)
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/d1ee6830-cf3b-40f4-8a60-75f79df0dba6 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
1 parent 64a33e4 commit 81e4d2f

4 files changed

Lines changed: 3 additions & 52 deletions

File tree

.github/agents/ado-aw.agent.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/downloa
2020
curl -fsSL -o /tmp/checksums.txt "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/checksums.txt"
2121
cd /tmp && grep "ado-aw-linux-x64" checksums.txt | sha256sum -c - && chmod +x /tmp/ado-aw
2222

23-
# macOS (Intel)
24-
VERSION="0.16.0"
25-
curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/ado-aw-darwin-x64"
26-
curl -fsSL -o /tmp/checksums.txt "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/checksums.txt"
27-
cd /tmp && grep "ado-aw-darwin-x64" checksums.txt | shasum -a 256 -c - && chmod +x /tmp/ado-aw
28-
2923
# macOS (Apple Silicon)
3024
VERSION="0.16.0"
3125
curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/ado-aw-darwin-arm64"

.github/workflows/daily-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
17+
os: [ubuntu-latest, windows-latest, macos-14]
1818
steps:
1919
- uses: actions/checkout@v4
2020

.github/workflows/release.yml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -98,41 +98,6 @@ jobs:
9898
target/release/ado-aw-windows-x64.exe `
9999
--clobber
100100
101-
build-macos-x64:
102-
name: Build (macOS x64)
103-
needs: release-please
104-
if: >-
105-
always() &&
106-
(needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch')
107-
runs-on: macos-13
108-
steps:
109-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110-
111-
- uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
112-
113-
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
114-
115-
- name: Build
116-
run: cargo build --release --verbose
117-
118-
- name: Run tests
119-
run: cargo test --verbose
120-
121-
- name: Prepare release assets
122-
run: |
123-
set -euo pipefail
124-
cd target/release
125-
cp ado-aw ado-aw-darwin-x64
126-
127-
- name: Upload release assets
128-
env:
129-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130-
run: |
131-
TAG="${{ needs.release-please.outputs.tag_name || github.event.inputs.tag_name }}"
132-
gh release upload "$TAG" \
133-
target/release/ado-aw-darwin-x64 \
134-
--clobber
135-
136101
build-macos-arm64:
137102
name: Build (macOS arm64)
138103
needs: release-please
@@ -170,13 +135,12 @@ jobs:
170135
171136
checksums:
172137
name: Generate Checksums
173-
needs: [release-please, build, build-windows, build-macos-x64, build-macos-arm64]
138+
needs: [release-please, build, build-windows, build-macos-arm64]
174139
if: >-
175140
always() &&
176141
(needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch') &&
177142
needs.build.result == 'success' &&
178143
needs.build-windows.result == 'success' &&
179-
needs.build-macos-x64.result == 'success' &&
180144
needs.build-macos-arm64.result == 'success'
181145
runs-on: ubuntu-22.04
182146
steps:
@@ -191,9 +155,8 @@ jobs:
191155
--repo "${{ github.repository }}"
192156
test -f ado-aw-linux-x64 || { echo "Missing ado-aw-linux-x64"; exit 1; }
193157
test -f ado-aw-windows-x64.exe || { echo "Missing ado-aw-windows-x64.exe"; exit 1; }
194-
test -f ado-aw-darwin-x64 || { echo "Missing ado-aw-darwin-x64"; exit 1; }
195158
test -f ado-aw-darwin-arm64 || { echo "Missing ado-aw-darwin-arm64"; exit 1; }
196-
sha256sum ado-aw-linux-x64 ado-aw-windows-x64.exe ado-aw-darwin-x64 ado-aw-darwin-arm64 > checksums.txt
159+
sha256sum ado-aw-linux-x64 ado-aw-windows-x64.exe ado-aw-darwin-arm64 > checksums.txt
197160
198161
- name: Upload checksums
199162
env:

src/data/init-agent.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/downloa
2020
curl -fsSL -o /tmp/checksums.txt "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/checksums.txt"
2121
cd /tmp && grep "ado-aw-linux-x64" checksums.txt | sha256sum -c - && chmod +x /tmp/ado-aw
2222

23-
# macOS (Intel)
24-
VERSION="{{ compiler_version }}"
25-
curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/ado-aw-darwin-x64"
26-
curl -fsSL -o /tmp/checksums.txt "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/checksums.txt"
27-
cd /tmp && grep "ado-aw-darwin-x64" checksums.txt | shasum -a 256 -c - && chmod +x /tmp/ado-aw
28-
2923
# macOS (Apple Silicon)
3024
VERSION="{{ compiler_version }}"
3125
curl -fsSL -o /tmp/ado-aw "https://github.com/githubnext/ado-aw/releases/download/v${VERSION}/ado-aw-darwin-arm64"

0 commit comments

Comments
 (0)