Skip to content

Commit d91f762

Browse files
authored
fix openssl build (#10)
Signed-off-by: Daniel Guns <danbguns@gmail.com>
1 parent a477833 commit d91f762

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,19 @@ jobs:
6161
target: x86_64-unknown-linux-gnu
6262
artifact_name: flux9s
6363
asset_name: flux9s-linux-x86_64.tar.gz
64-
- os: macos-latest
65-
target: x86_64-apple-darwin
66-
artifact_name: flux9s
67-
asset_name: flux9s-macos-x86_64.tar.gz
64+
65+
# macOS ARM (M1/M2/M3) - build on native runner
6866
- os: macos-latest
6967
target: aarch64-apple-darwin
7068
artifact_name: flux9s
7169
asset_name: flux9s-macos-aarch64.tar.gz
72-
# - os: windows-latest
73-
# target: x86_64-pc-windows-msvc
74-
# artifact_name: flux9s.exe
75-
# asset_name: flux9s-windows-x86_64.zip
70+
71+
# macOS Intel - build on native runner
72+
# Note: GitHub Actions macos-latest is now ARM, so we use macos-13 for Intel
73+
- os: macos-13
74+
target: x86_64-apple-darwin
75+
artifact_name: flux9s
76+
asset_name: flux9s-macos-x86_64.tar.gz
7677

7778
steps:
7879
- uses: actions/checkout@v4
@@ -98,16 +99,10 @@ jobs:
9899
- name: Build
99100
run: cargo build --release --target ${{ matrix.target }}
100101

101-
- name: Create archive (Unix)
102-
if: matrix.os != 'windows-latest'
102+
- name: Create archive
103103
run: |
104104
tar -czf ${{ matrix.asset_name }} -C target/${{ matrix.target }}/release ${{ matrix.artifact_name }}
105105
106-
# - name: Create archive (Windows)
107-
# if: matrix.os == 'windows-latest'
108-
# run: |
109-
# Compress-Archive -Path target/${{ matrix.target }}/release/${{ matrix.artifact_name }} -DestinationPath ${{ matrix.asset_name }}
110-
111106
- name: Upload artifact
112107
uses: actions/upload-artifact@v4
113108
with:

0 commit comments

Comments
 (0)