Skip to content

Commit

Permalink
Merge pull request #121 from EESSI/disable_macos_ci
Browse files Browse the repository at this point in the history
Disable macOS tests in CI
  • Loading branch information
boegel authored Apr 26, 2022
2 parents 737a7a6 + 05659ef commit db7b58c
Showing 1 changed file with 35 additions and 34 deletions.
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

0 comments on commit db7b58c

Please sign in to comment.