aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvsyukov Denis Anatolyevich <[email protected]>2020-03-11 12:14:38 +0300
committerEvsyukov Denis Anatolyevich <[email protected]>2020-03-11 12:14:38 +0300
commit77eee1d02c1bfc965de5978ac940dbb69d389e27 (patch)
treefef41e4663d9bc0e353249fde508f9faf9a020d8
parent[~] publish release (diff)
downloadt-77eee1d02c1bfc965de5978ac940dbb69d389e27.tar.xz
t-77eee1d02c1bfc965de5978ac940dbb69d389e27.zip
[-] build on push
-rw-r--r--.github/workflows/build.yml44
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