diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ede9f26..0b59bb1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,10 +20,13 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0 - name: Install deps - run: apk add --no-cache pcsc-lite-dev musl-dev + run: | + apk add --no-cache pcsc-lite-dev \ # For pcsc dependency + musl-dev # For tracing-attributes dependency (needs crti.o) + apk add pkgconf openssl-dev # For openssl dependency (see https://github.com/Fethbita/emrtd/pull/3) - name: Build - run: cargo build --release --verbose + run: cargo build --verbose - name: Run tests run: cargo test --all-features --verbose @@ -35,3 +38,6 @@ jobs: - name: Lint run: cargo clippy -- -D warnings + + - name: Build release + run: cargo build --release --verbose