Skip to content

Commit

Permalink
git submodules updated; dropped support for macos-big-sur since homeb…
Browse files Browse the repository at this point in the history
…rew doesnt support it
  • Loading branch information
casper-boon committed Feb 1, 2024
1 parent 46c12f9 commit 2d4edfd
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 60 deletions.
71 changes: 35 additions & 36 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,42 +135,41 @@ jobs:
git commit -m "Update Ubuntu 22.04 binaries"
git push
macOS-BS:
# The type of runner that the job will run on
runs-on: macos-11
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

- name: Checkout submodules
run: git submodule update --init --recursive

- name: Install packages
run: |
brew reinstall gcc
brew install netcdf
# brew install gd

- name: compile GLM
run: |
cd $GITHUB_WORKSPACE/glm-source
./build_glm.sh
MOSDIR=`grep 'SOFTWARE LICENSE AGREEMENT FOR ' '/System/Library/CoreServices/Setup Assistant.app/Contents/Resources/en.lproj/OSXSoftwareLicense.rtf' | awk -F 'macOS ' '{print $NF}' | tr -d '\\' | tr ' ' '_'`
mkdir -p $GITHUB_WORKSPACE/binaries/macos/${MOSDIR}
cp -r $GITHUB_WORKSPACE/glm-source/binaries/macos/${MOSDIR}/* $GITHUB_WORKSPACE/binaries/macos/${MOSDIR}/.
- name: update binaries and push to remote
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git pull
git add -A
git commit -m "Update MacOS binaries"
git push
# macOS-BS:
# # The type of runner that the job will run on
# runs-on: macos-11
# env:
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

# # Steps represent a sequence of tasks that will be executed as part of the job
# steps:
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - uses: actions/checkout@v4
#
# - name: Checkout submodules
# run: git submodule update --init --recursive

# - name: Install packages
# run: |
# brew reinstall gcc
# brew install netcdf

# - name: compile GLM
# run: |
# cd $GITHUB_WORKSPACE/glm-source
# ./build_glm.sh
# MOSDIR=`grep 'SOFTWARE LICENSE AGREEMENT FOR ' '/System/Library/CoreServices/Setup Assistant.app/Contents/Resources/en.lproj/OSXSoftwareLicense.rtf' | awk -F 'macOS ' '{print $NF}' | tr -d '\\' | tr ' ' '_'`
# mkdir -p $GITHUB_WORKSPACE/binaries/macos/${MOSDIR}
# cp -r $GITHUB_WORKSPACE/glm-source/binaries/macos/${MOSDIR}/* $GITHUB_WORKSPACE/binaries/macos/${MOSDIR}/.
#
# - name: update binaries and push to remote
# run: |
# git config --global user.name "github-actions[bot]"
# git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git pull
# git add -A
# git commit -m "Update MacOS binaries"
# git push

macOS-S:
# The type of runner that the job will run on
Expand Down
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion apt.txt

This file was deleted.

2 changes: 1 addition & 1 deletion glm-source/GLM
1 change: 0 additions & 1 deletion runtime.txt

This file was deleted.

0 comments on commit 2d4edfd

Please sign in to comment.