forked from byu-dafny/dafny
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build against Ubuntu 18 (dafny-lang#1437)
* Build against Ubuntu 18.04 * Escape left brace in Perl script Co-authored-by: Remy Willems <>
- Loading branch information
1 parent
8c9a08b
commit 8a4c73c
Showing
6 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ env: | |
dotnet-version: 5.0.x # SDK Version for building Dafny; x will use the latest version of the 5.0 channel | ||
jobs: | ||
singletons: | ||
runs-on: ubuntu-16.04 | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Setup dotnet 5.0 | ||
uses: actions/[email protected] | ||
|
@@ -59,20 +59,20 @@ jobs: | |
## Windows jobs fail on some lit tests and sometimes fail even to | ||
## setup a work environment (e.g. dotnet installation) | ||
##os: [ubuntu-latest] | ||
##os: [ubuntu-latest, windows-latest, ubuntu-16.04] | ||
##os: [ubuntu-latest, windows-latest, ubuntu-18.04] | ||
##os: [ubuntu-latest, macos-latest] | ||
os: [ | ||
ubuntu-latest, | ||
macos-latest, | ||
## windows-latest, | ||
ubuntu-16.04, | ||
ubuntu-18.04, | ||
] | ||
## Size of the following array must match --num-shards in lit command | ||
shard: [1, 2, 3, 4, 5] | ||
include: | ||
- os: 'ubuntu-latest' | ||
os_for_build: 'ubuntu' | ||
- os: 'ubuntu-16.04' | ||
- os: 'ubuntu-18.04' | ||
os_for_build: 'ubuntu' | ||
- os: 'macos-latest' | ||
os_for_build: 'osx' | ||
|
@@ -89,12 +89,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
dotnet-version: ${{env.dotnet-version}} | ||
- name: C++ for ubuntu 16.04 | ||
if: matrix.os == 'ubuntu-16.04' | ||
- name: C++ for ubuntu 18.04 | ||
if: matrix.os == 'ubuntu-18.04' | ||
run: | | ||
sudo apt-get install -y build-essential | ||
- name: Choose the right C++ for ubuntu 16.04 | ||
if: matrix.os == 'ubuntu-16.04' | ||
- name: Choose the right C++ for ubuntu 18.04 | ||
if: matrix.os == 'ubuntu-18.04' | ||
run: | | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 60 | ||
- uses: actions/setup-python@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters