Skip to content

Commit d609b01

Browse files
authored
Fixed the Nightly run to not use Ubuntu 20.04 since it is no longer supported (#1178)
* ubuntu 20.04 is no longer supported in GitHub actions, so removing that and adding ubuntu 24.04 in its place as part of the nightly run. * Updated Tsav section to set environ var for 24.04 * Accidentally added two test files * Added the work around for libaio
1 parent 38bb088 commit d609b01

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [ ubuntu-22.04, ubuntu-20.04, windows-2022, windows-2019 ]
21+
os: [ ubuntu-22.04, ubuntu-24.04, windows-2022, windows-2019 ]
2222
framework: [ 'net8.0', 'net9.0' ]
2323
configuration: [ 'Debug', 'Release' ]
2424
test: [ 'Garnet.test', 'Garnet.test.cluster' ]
@@ -56,15 +56,19 @@ jobs:
5656
strategy:
5757
fail-fast: false
5858
matrix:
59-
os: [ ubuntu-22.04, ubuntu-20.04, windows-2022, windows-2019 ]
59+
os: [ ubuntu-22.04, ubuntu-24.04, windows-2022, windows-2019 ]
6060
framework: [ 'net8.0', 'net9.0' ]
6161
configuration: [ 'Debug', 'Release' ]
6262
steps:
6363
- name: Check out code
6464
uses: actions/checkout@v4
65+
- name: Set workaround for libaio on Ubuntu 24.04 (see https://askubuntu.com/questions/1512196/libaio1-on-noble/1512197#1512197)
66+
run: |
67+
sudo ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1
68+
if: ${{ matrix.os == 'ubuntu-24.04' }}
6569
- name: Set environment variable for Linux
6670
run: echo "RunAzureTests=yes" >> $GITHUB_ENV
67-
if: ${{ matrix.os == 'ubuntu-latest' }}
71+
if: ${{ matrix.os == 'ubuntu-24.04' }}
6872
- name: Set environment variable for Windows
6973
run: echo ("RunAzureTests=yes") >> $env:GITHUB_ENV
7074
if: ${{ matrix.os == 'windows-latest' }}

0 commit comments

Comments
 (0)