Skip to content

Commit

Permalink
GitHub Action: WIP: rework to use cyd
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jan 9, 2025
1 parent d7d0f20 commit 302f5fc
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,23 @@ on:
- master
- main
- 'cyrus-imapd-*'

env:
CYRUS_CLONE_ROOT: ${{ github.workspace }}

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/cyrusimap/cyrus-docker:bookworm
image: ghcr.io/cyrusimap/cyrus-docker:alt-dir
options: --init
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install missing or frequently-updated deps
shell: bash
run: |
cpanm Mail::IMAPTalk # in image, but fetch latest!
- name: setup git safe directory
shell: bash
run: git config --global --add safe.directory /__w/cyrus-imapd/cyrus-imapd
set-safe-directory: true
- name: fetch upstream release tags
if: ${{ github.repository != 'cyrusimap/cyrus-imapd' }}
# if: ${{ github.repository != 'cyrusimap/cyrus-imapd' }}
shell: bash
run: |
git remote add upstream https://github.com/cyrusimap/cyrus-imapd.git
Expand All @@ -42,7 +40,7 @@ jobs:
shell: bash
run: |
echo "building cyrus version" $(./tools/git-version.sh)
./tools/build-with-cyruslibs.sh
cyd build
- name: report version information
shell: bash
run: |
Expand Down

0 comments on commit 302f5fc

Please sign in to comment.