diff options
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 6abba75..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Build -on: - push: - branches: - - master - -jobs: - build: - name: Build - runs-on: ${{ matrix.config.os }} - strategy: - matrix: - config: - - { - os: ubuntu-latest, - artifact_name: t, - asset_name: t-linux-amd64, - strip: true - } - - { - os: windows-latest, - artifact_name: t.exe, - asset_name: t-windows-amd64, - strip: false - } - - { - os: macos-latest, - artifact_name: t, - asset_name: t-macos-amd64, - strip: true - } - steps: - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: Build - run: cargo build --release - - name: Compress binaries - uses: svenstaro/upx-action@v1-release - with: - file: target/release/${{ matrix.config.artifact_name }} - args: '-9' - strip: ${{ matrix.config.strip }}
\ No newline at end of file |