veilid/.gitea/workflows/linux.yaml
Elizabeth Cray c6206cbab3
Some checks failed
Build Veilid for Linux amd64 / Explore-Gitea-Actions (push) Failing after 34m53s
Attempt 13 removed useless line
2023-10-22 20:20:37 -04:00

31 lines
1.2 KiB
YAML

# .gitea/workflows/build.yaml
name: Build Veilid for Linux amd64
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Install Basic Tools
run: apt-get update; apt-get install -y sed coreutils sudo
- name: Check out repository code
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup build dependencies
run: bash -c "yes | /bin/bash -c \'set -eo pipefail; $(tail -n $((`wc -l ./dev-setup/install_linux_prerequisites.sh | sed -e 's/^\([0-9]\+\).*$/\1/'` - 8)) ./dev-setup/install_linux_prerequisites.sh)\'; exit 0"
- name: Setup Linux Environment
run: bash -c "yes | bash -c \'set -eo pipefail; $(tail -n $((`wc -l ./dev-setup/setup_linux.sh | sed -e 's/^\([0-9]\+\).*$/\1/'` - 8)) ./dev-setup/setup_linux.sh)\'; exit 0"
- name: Build Veilid
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: dist-without-markdown
path: |
target
!dist/**/*.md