Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AD-504] Apache Ignite ODBC Seed replacement #4

Merged
merged 19 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 0 additions & 22 deletions .github/workflows/draft-release-notes-workflow.yml

This file was deleted.

106 changes: 0 additions & 106 deletions .github/workflows/linux-build.yml

This file was deleted.

155 changes: 76 additions & 79 deletions .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,97 +23,94 @@ jobs:
build-mac:
runs-on: macos-latest
steps:
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.21.4'
- uses: actions/checkout@v2
- name: Get Java distribution
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
architecture: x64
- name: run-cppcheck
run: |
brew install cppcheck
sh run_cppcheck.sh
- name: upload-cppcheck-results
if: failure()
uses: actions/upload-artifact@v2
with:
name: cppcheck-results
path: cppcheck-results.log
# - name: run-cppcheck
# run: |
# brew install cppcheck
# sh run_cppcheck.sh
# - name: upload-cppcheck-results
# if: failure()
# uses: actions/upload-artifact@v2
# with:
# name: cppcheck-results
# path: cppcheck-results.log
- name: get-dependencies
run: |
brew unlink unixodbc
brew install curl
brew install libiodbc
brew install cmake
brew install openssl
- name: configure-and-build-driver
run: |
./build_mac_release64.sh
- name: prepare-dsn
run: |
sudo mkdir /Library/ODBC
sudo cp ./src/Tests/Tests/odbc-mac.ini /Library/ODBC/odbc.ini
sudo cp ./src/Tests/Tests/odbcinst-mac.ini /Library/ODBC/odbcinst.ini
mkdir ${{ github.workspace }}/odbc-logs
- name: run-tests
run: |
./build/odbc/bin/tests --gtest_output="xml:report.xml"
- name: upload-test-report
if: failure()
uses: actions/upload-artifact@v2
with:
name: test-result-macos
path: ${{ github.workspace }}/report.xml
- name: print-memory-leak-logs
if: always()
run: |
cat ./leaks_*
- name: upload-test-logs
if: failure()
uses: actions/upload-artifact@v2
with:
name: test-logs-mac64
path: |
${{ github.workspace }}/odbc-logs/
${{ github.workspace }}/leaks_
env:
OPENSSL_ROOT_DIR: /usr/local/opt/openssl
# - name: prepare-dsn
# run: |
# sudo mkdir /Library/ODBC
# sudo cp ./src/Tests/Tests/odbc-mac.ini /Library/ODBC/odbc.ini
# sudo cp ./src/Tests/Tests/odbcinst-mac.ini /Library/ODBC/odbcinst.ini
# mkdir ${{ github.workspace }}/odbc-logs
# - name: run-tests
# run: |
# ./build/odbc/bin/tests --gtest_output="xml:report.xml"
# - name: upload-test-report
# if: failure()
# uses: actions/upload-artifact@v2
# with:
# name: test-result-macos
# path: ${{ github.workspace }}/report.xml
# - name: print-memory-leak-logs
# if: always()
# run: |
# cat ./leaks_*
# - name: upload-test-logs
# if: failure()
# uses: actions/upload-artifact@v2
# with:
# name: test-logs-mac64
# path: |
# ${{ github.workspace }}/odbc-logs/
# ${{ github.workspace }}/leaks_
# - name: test
# run: |
# bash ./run_test_runner.sh
- name: build-installer
if: success()
run: |
cd cmake-build64
cmake ../src
make
cpack .
cd ..
- name: create-output
if: success()
run: |
mkdir build-output
mkdir test-output
mkdir installer
cp ./build/odbc/lib/*.dylib build-output/
cp ./build/odbc/lib/*.a build-output/
cp ./cmake-build64/*.pkg installer/
- name: upload-build
if: success()
uses: actions/upload-artifact@v2
with:
name: mac64-build
path: build-output
- name: upload-installer
if: success()
uses: actions/upload-artifact@v2
with:
name: mac64-installer
path: installer
- name: upload-test-results
if: success()
uses: actions/upload-artifact@v2
with:
name: mac-test-results
path: test-output
# - name: build-installer
# if: success()
# run: |
# cd cmake-build64
# cmake ../src
# make
# cpack .
# cd ..
# - name: create-output
# if: success()
# run: |
# mkdir build-output
# mkdir test-output
# mkdir installer
# cp ./build/odbc/lib/*.dylib build-output/
# cp ./build/odbc/lib/*.a build-output/
# cp ./cmake-build64/*.pkg installer/
# - name: upload-build
# if: success()
# uses: actions/upload-artifact@v2
# with:
# name: mac64-build
# path: build-output
# - name: upload-installer
# if: success()
# uses: actions/upload-artifact@v2
# with:
# name: mac64-installer
# path: installer
# - name: upload-test-results
# if: success()
# uses: actions/upload-artifact@v2
# with:
# name: mac-test-results
# path: test-output
79 changes: 0 additions & 79 deletions .github/workflows/mac-debug-build.yml

This file was deleted.

Loading