From c029ecd63530bc333a4de9b933a81bb6f7fb0a5c Mon Sep 17 00:00:00 2001 From: Karen Chen Date: Wed, 10 Jul 2024 12:38:53 -0700 Subject: [PATCH] chore: remove installer --- .github/workflows/build-installer.yml | 75 --------------------------- 1 file changed, 75 deletions(-) delete mode 100644 .github/workflows/build-installer.yml diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml deleted file mode 100644 index 0510647b7..000000000 --- a/.github/workflows/build-installer.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: Build installer -on: - workflow_dispatch: - -env: - BUILD_TYPE: Release - -jobs: - build-mac: - name: macOS - runs-on: macos-14 - env: - CMAKE_GENERATOR: Unix Makefiles - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - # Configure build environment/dependencies - # Removing some /usr/local/bin files to avoid symlink issues wih brew update - - name: Install MySQL client libs & other dependencies - run: | - rm '/usr/local/bin/2to3' - rm '/usr/local/bin/2to3-3.11' - rm '/usr/local/bin/idle3' - rm '/usr/local/bin/idle3.11' - rm '/usr/local/bin/pydoc3' - rm '/usr/local/bin/pydoc3.11' - rm '/usr/local/bin/python3' - rm '/usr/local/bin/python3-config' - rm '/usr/local/bin/python3.11' - rm '/usr/local/bin/python3.11-config' - - brew update - brew upgrade - brew install libiodbc mysql-client - brew link --overwrite --force libiodbc - - curl -L https://dev.mysql.com/get/Downloads/MySQL-8.3/mysql-${{ vars.MYSQL_VERSION }}-macos14-x86_64.tar.gz -o mysql.tar.gz - tar -xzvf mysql.tar.gz - - - name: Build and install AWS SDK C++ - working-directory: ./scripts - run: | - ./build_aws_sdk_unix.sh $BUILD_TYPE - - - name: Create build environment - run: cmake -E make_directory ${{ github.workspace }}/build - - - name: Configure CMake - run: cmake -S . -B build - -G "$CMAKE_GENERATOR" - -DCMAKE_BUILD_TYPE=$BUILD_TYPE - -DMYSQLCLIENT_STATIC_LINKING=true - -DCONNECTOR_PLATFORM=macos - -DBUNDLE_DEPENDENCIES=true - -DMYSQL_DIR=./mysql-${{ vars.MYSQL_VERSION }}-macos14-x86_64 - - - name: Build driver - working-directory: ${{ github.workspace }}/build - run: | - export LIBRARY_PATH=$LIBRARY_PATH:$(brew --prefix zstd)/lib/ - cmake --build . - - - name: Build installer - working-directory: ${{ github.workspace }}/build - if: success() - run: cpack . - - - name: Upload macOS installer as artifact - if: success() - uses: actions/upload-artifact@v3 - with: - name: installers - path: ${{ github.workspace }}/build/aws-mysql-odbc-*.pkg - if-no-files-found: error