Skip to content

Commit

Permalink
Tweaked Windows and MacOS cargo check jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Nov 20, 2023
1 parent edb29eb commit 702c82f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 29 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ jobs:
name: Check Windows builds
needs: clippy
runs-on: windows-latest
strategy:
matrix:
etl:
[
"--features etl_native_tls",
"--features etl_rustls",
"--features etl",
"",
]
compression: ["--features compression", ""]
migrate: ["--features migrate", ""]
extra_datatypes: ["--features rust_decimal,uuid,chrono", ""]
steps:
- uses: actions/checkout@v3

Expand All @@ -95,31 +83,18 @@ jobs:
profile: minimal
toolchain: stable
override: true
components: clippy

- uses: Swatinem/rust-cache@v2

- uses: actions-rs/cargo@v1
with:
command: check
args: --tests ${{ matrix.etl }} ${{ matrix.migrate }} ${{ matrix.compression }} ${{ matrix.extra_datatypes }}
args: --tests --features compression,migrate,etl,rust_decimal,uuid,chrono

check_mac_os:
name: Check MacOS builds
needs: clippy
runs-on: macos-latest
strategy:
matrix:
etl:
[
"--features etl_native_tls",
"--features etl_rustls",
"--features etl",
"",
]
compression: ["--features compression", ""]
migrate: ["--features migrate", ""]
extra_datatypes: ["--features rust_decimal,uuid,chrono", ""]
steps:
- uses: actions/checkout@v3

Expand All @@ -129,14 +104,13 @@ jobs:
profile: minimal
toolchain: stable
override: true
components: clippy

- uses: Swatinem/rust-cache@v2

- uses: actions-rs/cargo@v1
with:
command: check
args: --tests ${{ matrix.etl }} ${{ matrix.migrate }} ${{ matrix.compression }} ${{ matrix.extra_datatypes }}
args: --tests --features compression,migrate,etl,rust_decimal,uuid,chrono

connection_tests:
name: Connection tests
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

- [#21](https://github.com/bobozaur/sqlx-exasol/pull/21): Update to sqlx `0.7.2`.
- [#21](https://github.com/bobozaur/sqlx-exasol/pull/21): Update to sqlx `0.7.2`; Simplified Windows and MacOS `cargo check`jobs.

### Fixed

Expand Down

0 comments on commit 702c82f

Please sign in to comment.