File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 4747 - uses : actions/checkout@v4
4848 - name : Set up cargo cache
4949 uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
50+ - name : Install ODBC dependencies
51+ run : |
52+ sudo apt-get update
53+ sudo apt-get install -y unixodbc-dev freetds-dev
5054 - name : Start database container
5155 run : docker compose up --wait ${{ matrix.database }}
5256 - name : Show container logs
Original file line number Diff line number Diff line change 8383 container : quay.io/pypa/manylinux_2_28_x86_64
8484 steps :
8585 - uses : actions/checkout@v4
86+ - name : Install ODBC dependencies
87+ run : |
88+ yum update -y
89+ yum install -y unixODBC-devel freetds-devel
8690 - name : Install Rust toolchain
8791 uses : dtolnay/rust-toolchain@stable
8892 with :
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ RUN apt-get update && \
66 if [ "$TARGETARCH" = "$BUILDARCH" ]; then \
77 rustup target list --installed > TARGET && \
88 echo gcc > LINKER && \
9- apt-get install -y gcc libgcc-s1 cmake && \
9+ apt-get install -y gcc libgcc-s1 cmake unixodbc-dev freetds-dev && \
1010 cp /lib/*/libgcc_s.so.1 .; \
1111 elif [ "$TARGETARCH" = "arm64" ]; then \
1212 echo aarch64-unknown-linux-gnu > TARGET && \
1313 echo aarch64-linux-gnu-gcc > LINKER && \
14- apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross && \
14+ apt-get install -y gcc-aarch64-linux-gnu libgcc-s1-arm64-cross unixodbc-dev freetds-dev && \
1515 cp /usr/aarch64-linux-gnu/lib/libgcc_s.so.1 .; \
1616 elif [ "$TARGETARCH" = "arm" ]; then \
1717 echo armv7-unknown-linux-gnueabihf > TARGET && \
1818 echo arm-linux-gnueabihf-gcc > LINKER && \
19- apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 && \
19+ apt-get install -y gcc-arm-linux-gnueabihf libgcc-s1-armhf-cross cmake libclang1 unixodbc-dev freetds-dev && \
2020 cargo install --force --locked bindgen-cli && \
2121 echo "-I/usr/lib/gcc-cross/arm-linux-gnueabihf/12/include -I/usr/arm-linux-gnueabihf/include" > BINDGEN_EXTRA_CLANG_ARGS; \
2222 cp /usr/arm-linux-gnueabihf/lib/libgcc_s.so.1 .; \
You can’t perform that action at this time.
0 commit comments