From 7b61ef69804a610c4b49877a6079d2fb4ab515e0 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 8 Aug 2020 15:57:52 -0700 Subject: [PATCH 1/4] Skip installing texinfo for osx tests Recently the brew step to install texinfo stopped working, as it appears the tool is now available on the VMs. --- .github/workflows/osx.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index ddf0d490..ae28bfab 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -14,7 +14,7 @@ jobs: - name: install maxtex run: brew cask install mactex - name: install doc programs - run: brew install texi2html texinfo doxygen + run: brew install texi2html doxygen - name: install automake run: brew install automake - name: install pkg-config @@ -37,7 +37,7 @@ jobs: - name: install maxtex run: brew cask install mactex - name: install doc programs - run: brew install texi2html texinfo doxygen + run: brew install texi2html doxygen - name: install automake run: brew install automake - name: install pkg-config @@ -94,7 +94,7 @@ jobs: - name: install maxtex run: brew cask install mactex - name: install doc programs - run: brew install texi2html texinfo doxygen + run: brew install texi2html doxygen - name: install automake run: brew install automake - name: install pkg-config @@ -115,7 +115,7 @@ jobs: - name: install maxtex run: brew cask install mactex - name: install doc programs - run: brew install texi2html texinfo doxygen + run: brew install texi2html doxygen - name: install automake run: brew install automake - name: install pkg-config From 6f6918ba99064f4f0b9ffbb506ae9ce7945c0f63 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 8 Aug 2020 16:16:04 -0700 Subject: [PATCH 2/4] Change brew install folder permissions --- .github/workflows/osx.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index ae28bfab..3e344c64 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -11,6 +11,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -34,6 +37,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -57,6 +63,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -74,6 +83,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -91,6 +103,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -112,6 +127,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v2 + # Brew may not have permission to install its packages + - name: change brew install folder permissions + run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs From 8059ebc56b626c21727788a2c1258ebf2f6ce5aa Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 8 Aug 2020 16:48:10 -0700 Subject: [PATCH 3/4] Apply chmod to all subfolders --- .github/workflows/osx.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 3e344c64..625b0277 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -85,7 +85,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -105,7 +105,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -129,7 +129,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs From 69425fe9a1565e3a29ddf3af80dc4fc8c3b05dc2 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 8 Aug 2020 22:45:47 -0700 Subject: [PATCH 4/4] Use sudo chmod to change permission of folder --- .github/workflows/osx.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 625b0277..84c5421f 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -85,7 +85,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install automake run: brew install automake - name: install pkg-config @@ -105,7 +105,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs @@ -129,7 +129,7 @@ jobs: - uses: actions/checkout@v2 # Brew may not have permission to install its packages - name: change brew install folder permissions - run: chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx + run: sudo chmod -R a+rwx /usr/local/share/ || mkdir -p /usr/local/share/ -m a+rwx - name: install maxtex run: brew cask install mactex - name: install doc programs