Ver Fonte

build_system: manually install missing compilers

Michele Caini há 5 anos atrás
pai
commit
1e07b981f0
2 ficheiros alterados com 10 adições e 2 exclusões
  1. 9 0
      .github/workflows/build.yml
  2. 1 2
      .github/workflows/deploy.yml

+ 9 - 0
.github/workflows/build.yml

@@ -18,6 +18,15 @@ jobs:
 
     steps:
     - uses: actions/checkout@v2
+    - name: Install g++-7
+      if: ${{ matrix.compiler == 'g++-7' }}
+      run: sudo apt install g++-7
+    - name: Install g++-8
+      if: ${{ matrix.compiler == 'g++-8' }}
+      run: sudo apt install g++-8
+    - name: Install clang-8
+      if: ${{ matrix.compiler == 'clang++-8' }}
+      run: sudo apt install clang-8
     - name: Compile tests
       working-directory: build
       env:

+ 1 - 2
.github/workflows/deploy.yml

@@ -20,8 +20,7 @@ jobs:
       working-directory: build
       env:
         PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
-      run: |
-        git clone https://$GITHUB_ACTOR:$PERSONAL_ACCESS_TOKEN@github.com/$GITHUB_ACTOR/$GH_REPO.git
+      run: git clone https://$GITHUB_ACTOR:$PERSONAL_ACCESS_TOKEN@github.com/$GITHUB_ACTOR/$GH_REPO.git
     - name: Prepare formula
       working-directory: build
       run: |