Skip to content

Commit f87d811

Browse files
authored
ci: label and smoke-test CLI host artifacts accurately (#69)
* ci: label and smoke-test CLI host artifacts accurately * ci: invoke CLI smoke test as a cargo subcommand
1 parent dc1021f commit f87d811

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/sqlx.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
os: [ubuntu-latest, windows-2025-vs2026] #, macOS-latest]
8080
include:
8181
- os: ubuntu-latest
82-
target: x86_64-unknown-linux-musl
82+
target: x86_64-unknown-linux-gnu
8383
args: --features openssl-vendored
8484
bin: target/debug/cargo-sqlx
8585
- os: windows-2025-vs2026
@@ -101,10 +101,14 @@ jobs:
101101
--bin cargo-sqlx
102102
${{ matrix.args }}
103103

104+
- name: Smoke-test CLI binary
105+
run: ./${{ matrix.bin }} sqlx --version
106+
104107
- uses: actions/upload-artifact@v7
105108
with:
106109
name: cargo-sqlx-${{ matrix.target }}
107110
path: ${{ matrix.bin }}
111+
if-no-files-found: error
108112

109113
sqlite:
110114
name: SQLite

0 commit comments

Comments
 (0)