2022-11-02 22:27:15 +05:30
|
|
|
name: Build using Cargo
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- "**.md"
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- "**.md"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
2023-08-27 23:02:30 +05:30
|
|
|
- uses: rui314/setup-mold@v1
|
2023-07-13 06:10:10 +05:30
|
|
|
- name: Set up NASM
|
|
|
|
uses: ilammy/setup-nasm@v1.4.0
|
2022-11-02 22:27:15 +05:30
|
|
|
- name: Build
|
|
|
|
run: cargo build --release
|
2023-08-27 22:44:47 +05:30
|
|
|
- run: mv target/release/piped-proxy piped-proxy
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: piped-proxy
|
|
|
|
path: piped-proxy
|