Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable macOS tests in CI #121

Merged
merged 1 commit into from
Apr 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 35 additions & 34 deletions .github/workflows/build-test-release-client-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,42 +228,43 @@ jobs:
- name: Test repository access
run: ls /cvmfs/pilot.eessi-hpc.org/

test-macos-package:
needs: build-macos-package
runs-on: macos-10.15
steps:
- name: Install OSXFUSE
run: brew install --cask macfuse

- name: Download and install CVMFS client
run: wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-latest.pkg && sudo installer -target / -pkg cvmfs-latest.pkg
- name: Download cvmfs-config-eessi package
uses: actions/download-artifact@v2
with:
name: macos_package

- name: Find filename of package
id: find_filename
shell: bash
run: |
pkgfile="$(find . -name cvmfs-config-eessi*.pkg)"
echo ::set-output name=pkgfile::${pkgfile}

- name: Install package
run: sudo installer -target / -pkg ./${{ steps.find_filename.outputs.pkgfile }}

- name: Add local CVMFS configuration (/etc/cvmfs/default.local)
run: echo "CVMFS_CLIENT_PROFILE=single" | sudo tee /etc/cvmfs/default.local

- name: Mount the repositories
run: sudo mkdir -p /Users/Shared/cvmfs/pilot.eessi-hpc.org && sudo mount -t cvmfs pilot.eessi-hpc.org /Users/Shared/cvmfs/pilot.eessi-hpc.org

- name: Test repository access
run: ls /Users/Shared/cvmfs/pilot.eessi-hpc.org/
# test-macos-package:
# needs: build-macos-package
# runs-on: macos-10.15
# steps:
# - name: Install OSXFUSE
# run: brew install --cask macfuse
#
# - name: Download and install CVMFS client
# run: wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-latest.pkg && sudo installer -target / -pkg cvmfs-latest.pkg
#
# - name: Download cvmfs-config-eessi package
# uses: actions/download-artifact@v2
# with:
# name: macos_package
#
# - name: Find filename of package
# id: find_filename
# shell: bash
# run: |
# pkgfile="$(find . -name cvmfs-config-eessi*.pkg)"
# echo ::set-output name=pkgfile::${pkgfile}
#
# - name: Install package
# run: sudo installer -target / -pkg ./${{ steps.find_filename.outputs.pkgfile }}
#
# - name: Add local CVMFS configuration (/etc/cvmfs/default.local)
# run: echo "CVMFS_CLIENT_PROFILE=single" | sudo tee /etc/cvmfs/default.local
#
# - name: Mount the repositories
# run: sudo mkdir -p /Users/Shared/cvmfs/pilot.eessi-hpc.org && sudo mount -t cvmfs pilot.eessi-hpc.org /Users/Shared/cvmfs/pilot.eessi-hpc.org
#
# - name: Test repository access
# run: ls /Users/Shared/cvmfs/pilot.eessi-hpc.org/

release:
needs: [build-linux-packages, build-macos-package, test-deb-package, test-rpm-package, test-macos-package, test-tar-package]
#needs: [build-linux-packages, build-macos-package, test-deb-package, test-rpm-package, test-macos-package, test-tar-package]
needs: [build-linux-packages, build-macos-package, test-deb-package, test-rpm-package, test-tar-package]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
Expand Down