Skip to content

Commit

Permalink
Work around azure timeouts on GitHub actions, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Apr 7, 2020
1 parent 8266f3d commit a76a598
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
uses: snickerbockers/submodules-init@v4
- name: install gcc
run: |
sudo apt-get update -q
sudo apt-get install g++-7 libssl-dev -y --allow-unauthenticated
sudo sed -i 's/azure\.//' /etc/apt/sources.list
sudo apt-get -o Acquire::Retries=30 update -q
sudo apt-get -o Acquire::Retries=30 install g++-7 libssl-dev -y --allow-unauthenticated
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
- name: make only-test-c-files CC=gcc
run: make only-test-c-files CC=gcc EXTERNAL_DEPENDENCIES=1
5 changes: 3 additions & 2 deletions .github/workflows/coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
steps:
- name: install Coq
run: |
sudo sed -i 's/azure\.//' /etc/apt/sources.list
if [ ! -z "$PPA" ]; then sudo add-apt-repository "$PPA" -y; fi
sudo apt-get update -q
sudo apt-get install ocaml-findlib $COQ_PACKAGE -y --allow-unauthenticated
sudo apt-get -o Acquire::Retries=30 update -q
sudo apt-get -o Acquire::Retries=30 install ocaml-findlib $COQ_PACKAGE -y --allow-unauthenticated
- name: echo build params
run: |
set -e
Expand Down

0 comments on commit a76a598

Please sign in to comment.