Skip to content

Commit

Permalink
ansi2: msvc flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Sep 6, 2024
1 parent d1999e7 commit eddc413
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
tags:
- v[0-9]+.*



jobs:
create-release:
runs-on: ubuntu-latest
Expand All @@ -22,23 +24,24 @@ jobs:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: x86_64-pc-windows-gnu
os: windows-latest
RUSTFLAGS: -C target-feature=+crt-static
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: ansi2
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
env:
RUSTFLAGS: ${{ matrix.RUSTFLAGS }}

0 comments on commit eddc413

Please sign in to comment.