Skip to content

Commit

Permalink
node debian only
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars-Erik Roald committed Nov 13, 2024
1 parent 665ca46 commit d09da44
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,27 +69,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: apk update
- run: apk --no-cache add curl
- run: apk --no-cache add unixodbc
- run: apk add sudo
# - run: apk add unzip
- run: curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/msodbcsql18_18.1.1.1-1_amd64.apk
- run: curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/mssql-tools18_18.1.1.1-1_amd64.apk
- run: sudo apk add --allow-untrusted msodbcsql18_18.1.1.1-1_amd64.apk
- run: sudo apk add --allow-untrusted mssql-tools18_18.1.1.1-1_amd64.apk
- run: sudo apk add libnsl
- run: sudo apk add gcompat
- run: ln -s /usr/lib/libnsl.so.3 /usr/lib/libnsl.so.1
# - run: npm install
# - run: wget https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-basic-linux.x64-19.3.0.0.0dbru.zip && unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip && cp -r instantclient_19_3/* /lib && rm -rf instantclient-basic-linux.x64-19.3.0.0.0dbru.zip && apk --no-cache add libaio && cd /lib && ln -s libnsl.so.2 /usr/lib/libnsl.so.1 && ln -s libc.so /usr/lib/libresolv.so.2
# - run: ldd /__w/rdb/rdb/tests/libsybdrvodb.so
- run: curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
- run: curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list
- run: apt-get update
- run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
- run: apt-get install -y unixodbc-dev
- run: npm install
- run: npm run lint
- run: npm run tscheck
- run: npm run test
- run: npm run coverage
# Only run the coverage once
- run: npm run coverage # Only run the coverage once
- if: ${{ matrix.container == 'node:16-alpine' && github.ref == 'refs/heads/master'}}
name: Get Coverage for badge
run: |
Expand Down

0 comments on commit d09da44

Please sign in to comment.