Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zyj committed Sep 27, 2023
1 parent 7e1eb72 commit 6df64f4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
target:
- mips-unknown-linux-musl --features=default-openssl --no-default-features
- mips-unknown-linux-musl
# - mipsel-unknown-linux-musl
- x86_64-unknown-linux-musl
# - i686-unknown-linux-musl
Expand All @@ -38,11 +38,19 @@ jobs:
cargo install cross
- name: build
if: ${{ matrix.target != 'mips-unknown-linux-musl' }}
run: |
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
cross build --release --target ${{ matrix.target }}
- name: build
if: ${{ matrix.target == 'mips-unknown-linux-musl' }}
run: |
export CFG_COMMIT_HASH=`git log --pretty=format:'%h' -n 1`
export CFG_COMMIT_DATE=`git log --format="%ci" -n 1`
cross build --release --target ${{ matrix.target }} --features default-openssl --no-default-features
- name: rename and compress artifacts
if: ${{ matrix.target == 'x86_64-pc-windows-gnu' }}
run: |
Expand Down

0 comments on commit 6df64f4

Please sign in to comment.