Skip to content

Commit

Permalink
modified mac build (testing)
Browse files Browse the repository at this point in the history
  • Loading branch information
IPdotSetAF committed Nov 21, 2024
1 parent b02f12b commit 5e46f7a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,14 @@ jobs:
with:
python-version: 3.11.4

- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"  
- name: Install UnixODBC and MSODBCSQL18
run: |
brew install unixodbc
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
HOMEBREW_SANDBOX=1 HOMEBREW_ACCEPT_EULA=Y brew install msodbcsql18 mssql-tools18
ls /opt/homebrew/Cellar/msodbcsql18
HOMEBREW_SANDBOX=1 HOMEBREW_ACCEPT_EULA=Y brew install unixodbc msodbcsql18 tree
tree /opt/homebrew/Cellar/msodbcsql18/
cat /opt/homebrew/Cellar/msodbcsql18/18.4.1.1/odbcinst.ini
- run: pip install -r Tools/mssql-proxy/requirements.txt pyinstaller
- run: pyinstaller mssql-proxy.mac.spec
working-directory: Tools/mssql-proxy
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
uses: ./.github/workflows/publish.yml
if: github.ref_type == 'tag'

build-linux:
uses: ./.github/workflows/build-linux.yml
# build-linux:
# uses: ./.github/workflows/build-linux.yml

build-windows:
uses: ./.github/workflows/build-windows.yml
# build-windows:
# uses: ./.github/workflows/build-windows.yml

build-macos:
uses: ./.github/workflows/build-macos.yml

build-publish-docker:
uses: ./.github/workflows/build-publish-docker.yml
needs: [publish, build-linux, build-windows, build-macos]
# build-publish-docker:
# uses: ./.github/workflows/build-publish-docker.yml
# needs: [publish, build-linux, build-windows, build-macos]

release:
runs-on: ubuntu-latest
if: github.ref_type == 'tag'
needs: [build-publish-docker]
# needs: [build-publish-docker]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 5e46f7a

Please sign in to comment.