Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandotonon committed May 4, 2024
1 parent 7aba022 commit 19cf4e7
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,14 +638,19 @@ jobs:
build-n-cache-assimp-macos:
runs-on: macos-latest
steps:
- name: change folder permissions
run: |
sudo chmod -R 777 /usr/local/lib
sudo chmod -R 777 /usr/local/include
- name: Cache Assimp
id: cache-assimp-macos
uses: actions/cache@v3
env:
cache-name: cache-assimp-macos
with:
path: |
/usr/local/lib/cmake/assimp-5.4
/usr/local/lib/cmake
/usr/local/include/assimp
/usr/local/include/contrib
/usr/local/lib/pkgconfig/assimp.pc
Expand Down Expand Up @@ -675,14 +680,19 @@ jobs:
needs: build-n-cache-assimp-macos
runs-on: macos-latest
steps:
- name: change folder permissions
run: |
sudo chmod -R 777 /usr/local/lib
sudo chmod -R 777 /usr/local/include
- name: Cache Assimp
id: cache-assimp-macos
uses: actions/cache@v3
env:
cache-name: cache-assimp-macos
with:
path: |
/usr/local/lib/cmake/assimp-5.4
/usr/local/lib/cmake
/usr/local/include/assimp
/usr/local/include/contrib
/usr/local/lib/pkgconfig/assimp.pc
Expand Down Expand Up @@ -724,6 +734,11 @@ jobs:
needs: [build-n-cache-assimp-macos, build-n-cache-ogre-macos]
runs-on: macos-latest
steps:
- name: change folder permissions
run: |
sudo chmod -R 777 /usr/local/lib
sudo chmod -R 777 /usr/local/include
- uses: actions/checkout@v3
with:
submodules: true
Expand All @@ -750,7 +765,7 @@ jobs:
cache-name: cache-assimp-macos
with:
path: |
/usr/local/lib/cmake/assimp-5.4
/usr/local/lib/cmake
/usr/local/include/assimp
/usr/local/include/contrib
/usr/local/lib/pkgconfig/assimp.pc
Expand All @@ -770,7 +785,6 @@ jobs:
- name: Configure CMake
env:
OGRE_DIR: ${{github.workspace}}/ogre/SDK/CMake/
ASSIMP_DIR: /usr/local/lib/cmake/assimp-5.4
run: |
sudo cmake -S . \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
Expand Down

0 comments on commit 19cf4e7

Please sign in to comment.