Skip to content

Commit

Permalink
Add steps to build and test with UseMimalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
apgrucza committed Apr 23, 2024
1 parent d886ab4 commit 92ee217
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ env:
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

# Path to the directory where the build artifacts will be placed.
PSQLODBC_OBJBASE: ${{ github.workspace }}/out/default

permissions:
contents: read

Expand Down Expand Up @@ -198,6 +201,19 @@ jobs:
shell: powershell
run: |
winbuild\regress.ps1 -DsnInfo "SERVER=localhost|DATABASE=contrib_regression|PORT=5432|UID=postgres|PWD=password"
- name: build psqlodbc with UseMimalloc
shell: powershell
run: |
copy .github\workflows\configuration.xml winbuild
winbuild\BuildAll.ps1 -UseMimalloc yes
env:
PSQLODBC_OBJBASE: ${{ github.workspace }}/out/UseMimalloc
- name: test psqlodbc with UseMimalloc
shell: powershell
run: |
winbuild\regress.ps1 -DsnInfo "SERVER=localhost|DATABASE=contrib_regression|PORT=5432|UID=postgres|PWD=password"
env:
PSQLODBC_OBJBASE: ${{ github.workspace }}/out/UseMimalloc
- name: Upload x64 merge module
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 92ee217

Please sign in to comment.