Skip to content

Commit 031d3db

Browse files
committed
only compile for mac, remove cross compile linkers
1 parent 25e878f commit 031d3db

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release-java-bindings.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,26 @@ jobs:
4040
with:
4141
python-version: '3.x'
4242

43-
- name: Install Homebrew
44-
run: |
45-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
43+
# - name: Install Homebrew
44+
# run: |
45+
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
4646

47-
- name: Install mingw-w64 for Windows cross-compilation
48-
run: |
49-
brew install mingw-w64
47+
# - name: Install mingw-w64 for Windows cross-compilation
48+
# run: |
49+
# brew install mingw-w64
5050

51-
- name: Install linker for x86_64-unknown-linux-gnu
52-
run: |
53-
brew install SergioBenitez/osxct/x86_64-unknown-linux-gnu
51+
# - name: Install linker for x86_64-unknown-linux-gnu
52+
# run: |
53+
# brew install SergioBenitez/osxct/x86_64-unknown-linux-gnu
5454

55-
- name: Install linker for aarch64-unknown-linux-gnu
56-
run: |
57-
brew tap messense/homebrew-macos-cross-toolchains
58-
brew install aarch64-unknown-linux-gnu
55+
# - name: Install linker for aarch64-unknown-linux-gnu
56+
# run: |
57+
# brew tap messense/homebrew-macos-cross-toolchains
58+
# brew install aarch64-unknown-linux-gnu
5959

60-
- name: Rename cross.toml file so cargo uses the correct linkers
61-
run: |
62-
mv .cargo/config.cross.toml .cargo/config.toml
60+
# - name: Rename cross.toml file so cargo uses the correct linkers
61+
# run: |
62+
# mv .cargo/config.cross.toml .cargo/config.toml
6363

6464
- name: Run compile script
6565
run: |

0 commit comments

Comments
 (0)