Skip to content

Commit

Permalink
check archive is uploaded on freebsd ci
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Nov 8, 2024
1 parent fa86021 commit ea92a88
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
UNAME: ${{ matrix.os }}
VERSION: ${{ secrets.VERSION }}
ARCH: ${{ matrix.target }}
SUFFIX: ${{ matrix.suffix }}
Expand Down Expand Up @@ -47,7 +48,15 @@ jobs:
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
ros install snmsts/sn.github roswell/sbcl_bin
make latest-version zstd sbcl
- if: ${{ matrix.target != 'x86' }}
- name: check uploaded
id: check_uploaded
env:
VERSION: ${{ secrets.VERSION }}
ARCH: ${{ matrix.target }}
SUFFIX: ${{ matrix.suffix }}
run: make latest-version upload-archive-p
continue-on-error: true
- if: ${{ matrix.target != 'x86' && ( steps.check_uploaded.outcome == 'failure' || github.event_name != 'schedule' ) }}
name: Test on FreeBSD
uses: cross-platform-actions/[email protected]
with:
Expand All @@ -67,7 +76,7 @@ jobs:
ros install snmsts/sn.github roswell/sbcl_bin
sudo bash -c 'cd zstd/lib; gmake PREFIX=/usr CFLAGS="-fPIC" install-includes install-static clean'
sudo -E gmake latest-version precompile-freebsd compile postcompile-freebsd archive;
- if: ${{ matrix.target == 'x86' }}
- if: ${{ matrix.target == 'x86' && ( steps.check_uploaded.outcome == 'failure' || github.event_name != 'schedule' ) }}
name: Test on FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
Expand Down

0 comments on commit ea92a88

Please sign in to comment.