From df6cb7c9b82e1925add8b83ff9227d6eea5077d6 Mon Sep 17 00:00:00 2001 From: Liz/Alice Cray Date: Sun, 22 Oct 2023 15:54:21 -0400 Subject: [PATCH] Added Gitea Action --- .gitea/workflows/linux.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/linux.yaml diff --git a/.gitea/workflows/linux.yaml b/.gitea/workflows/linux.yaml new file mode 100644 index 00000000..a9d179fe --- /dev/null +++ b/.gitea/workflows/linux.yaml @@ -0,0 +1,32 @@ +# .gitea/workflows/build.yaml +name: Build Veilid for Linux amd64 +run-name: ${{ github.actor }} is building Veilid for linux_amd64 +on: [push] +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Setup build dependencies + run: /usr/bin/yes | ./dev-setup/install_linux_prerequisites.sh + - name: Setup Linux Environment + run: /usr/bin/yes | ./dev-setup/setup_linux.sh + - 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