From db74a0995c533142f0cbc7af6840b1c7f8bc0be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 28 Aug 2024 13:02:17 -0300 Subject: [PATCH] ci: add workflow for static binary. The CI workflow will test that building the IOC is always working. The resulting tarball for tags will also be published in the project's release page. --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..27cd926 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: IOC build and release +permissions: + contents: write +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build + run: docker compose up + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: rffe-epics-ioc-*.tar.gz