From 08689c0ffe1059729cfccf7030a0f2c82ea5a404 Mon Sep 17 00:00:00 2001 From: Matthew Espino <65783406+mcecode@users.noreply.github.com> Date: Sat, 26 Oct 2024 03:30:46 +0800 Subject: [PATCH] build-debug --- .github/workflows/build-debug-harper-ls.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build-debug-harper-ls.yml diff --git a/.github/workflows/build-debug-harper-ls.yml b/.github/workflows/build-debug-harper-ls.yml new file mode 100644 index 00000000..e0362782 --- /dev/null +++ b/.github/workflows/build-debug-harper-ls.yml @@ -0,0 +1,28 @@ +name: Build Debug + +on: + push: + branches: ["build-debug-harper-ls"] + +jobs: + build: + name: Build + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + targets: x86_64-unknown-linux-gnu + - name: Build + run: cargo +stable build --locked --profile dev --bin harper-ls --target x86_64-unknown-linux-gnu + - name: Archive + run: | + cd target/x86_64-unknown-linux-gnu/debug + tar -czf ../../../harper-ls.tar.gz harper-ls + cd - + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: debug-build + path: harper-ls.tar.gz