[ci] tfclient x64 builds

This commit is contained in:
core 2023-09-27 13:47:05 -04:00
parent 61c6b65f9b
commit a9b4de2731
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
on:
push:
branches:
master
env:
CARGO_TERM_COLOR: always
jobs:
build_x64:
runs_on: docker
steps:
- name: Checkout code
with: actions/checkout@v2
- name: Setup Go toolchain
uses: actions/setup-go@v4
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Enable Rust dependency caching
uses: Swatinem/rust-cache@v2
- name: Compile release binary
uses: actions-rs/cargo@v1
with:
command: build
args: --release --bin tfclient
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: tfclient
path: target/release/tfclient