diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-05-22 07:51:08 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-05-22 07:51:08 +0200 |
| commit | 0f9a40a08b988bba7728ef327b02230c8121d539 (patch) | |
| tree | db83e2c6bb3c4bdb066e6e6bc3d7d83558d51cca /.gitea/workflows | |
| parent | 6bba29c30ccfd16def0b4640f0cae7c7f382d0d7 (diff) | |
| download | slackbuilder-master.tar.gz | |
Diffstat (limited to '.gitea/workflows')
| -rw-r--r-- | .gitea/workflows/build.yml | 37 | ||||
| -rw-r--r-- | .gitea/workflows/deploy.yaml | 29 |
2 files changed, 0 insertions, 66 deletions
diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml deleted file mode 100644 index eb86abe..0000000 --- a/.gitea/workflows/build.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build - -on: - push: - pull_request: - branches: [master] - -jobs: - audit: - container: buildenv:6 - steps: - - uses: actions/checkout@v6 - - run: hlint src lib test - - test: - container: buildenv:6 - steps: - - name: Set up environment - run: | - apt-get update -y - apt-get upgrade -y - apt-get install -y pkg-config liblzma-dev - - uses: actions/checkout@v6 - - run: cabal update - - run: cabal test --test-show-details=streaming - - release: - container: buildenv:6 - steps: - - name: Set up environment - run: | - apt-get update -y - apt-get upgrade -y - apt-get install -y pkg-config liblzma-dev - - uses: actions/checkout@v6 - - run: cabal update - - run: cabal build diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml deleted file mode 100644 index dc34f1a..0000000 --- a/.gitea/workflows/deploy.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Deploy - -on: - push: - tags: - - '**' - -jobs: - release: - container: buildenv:6 - steps: - - name: Set up environment - run: | - apt-get update -y - apt-get upgrade -y - apt-get install -y pkg-config liblzma-dev - - uses: actions/checkout@v6 - - run: cabal update - - run: cabal build - - name: Archive - run: | - DISTRIBUTION=$(echo $GITHUB_REF_NAME | awk '{ gsub(/^v/, "slackbuilder-"); print $0 }') - cabal install --installdir=$DISTRIBUTION/bin --install-method=copy - strip $DISTRIBUTION/bin/slackbuilder - tar Jcvf $DISTRIBUTION.tar.xz $DISTRIBUTION - - uses: akkuman/gitea-release-action@v1 - with: - files: "*.tar.xz" - token: ${{ secrets.API_KEY }} |
