Skip to content

Commit

Permalink
Merge pull request #27 from TileDB-Inc/kerl/ubuntu-24-04
Browse files Browse the repository at this point in the history
Use `ubuntu-24.04` to get GCC >= 13
  • Loading branch information
johnkerl authored Nov 19, 2024
2 parents 48f88d5 + 731d83b commit 9a5c1fd
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ on:
default: main
jobs:
libtiledb:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Clone TileDB
uses: actions/checkout@v4
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
# make -C build-libtiledb/tiledb tests -j $(nproc)
# ./build-libtiledb/tiledb/test/tiledb_unit --vfs native
tiledb-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: libtiledb
env:
LD_LIBRARY_PATH: ${{ github.workspace }}/install-libtiledb/lib
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
retention-days: 14
if-no-files-found: error
tiledb-r:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: libtiledb
env:
_R_CHECK_FORCE_SUGGESTS_: "FALSE"
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
# USAGE: run-cli-tests.sh <build-dir> <inputs-dir>
libtiledbvcf/test/run-cli-tests.sh build-libtiledbvcf libtiledbvcf/test/inputs
tiledbvcf-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb, libtiledbvcf, tiledb-py]
env:
LD_LIBRARY_PATH: "${{ github.workspace }}/install-libtiledb/lib:${{ github.workspace }}/install-libtiledbvcf/lib"
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:
retention-days: 14
if-no-files-found: error
libtiledbsoma:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb]
env:
TileDB_DIR: ${{ github.workspace }}/install-libtiledb
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
cmake --build build-libtiledbsoma/libtiledbsoma --target build_tests -j $(nproc)
ctest --test-dir build-libtiledbsoma/libtiledbsoma -C Release --verbose --rerun-failed --output-on-failure
tiledbsoma-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb, libtiledbsoma, tiledb-py]
env:
LD_LIBRARY_PATH: "${{ github.workspace }}/install-libtiledb/lib:${{ github.workspace }}/install-libtiledbsoma/lib"
Expand Down Expand Up @@ -447,7 +447,7 @@ jobs:
retention-days: 14
if-no-files-found: error
tiledbsoma-r:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb, libtiledbsoma, tiledb-r]
env:
LD_LIBRARY_PATH: "${{ github.workspace }}/install-libtiledb/lib:${{ github.workspace }}/install-libtiledbsoma/lib"
Expand Down Expand Up @@ -503,7 +503,7 @@ jobs:
run:
Rscript -e 'testthat::test_package("tiledbsoma")'
tiledb-mariadb:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb]
env:
CFLAGS: -Wno-error=deprecated-declarations -Wno-error=missing-braces
Expand Down Expand Up @@ -561,7 +561,7 @@ jobs:
cd builddir
./mysql-test/mysql-test-run.pl --suite=mytile
tiledb-go:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb]
steps:
- name: Clone TileDB-Go
Expand All @@ -583,7 +583,7 @@ jobs:
export LD_LIBRARY_PATH=$(pwd)/install-libtiledb/lib
go test -v ./...
tiledb-cloud-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb, tiledb-py]
env:
LD_LIBRARY_PATH: "${{ github.workspace }}/install-libtiledb/lib"
Expand Down Expand Up @@ -644,15 +644,15 @@ jobs:
# this is simply a target to build everything locally with `act` without
# creating a new release
name: Build everything
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [libtiledb, tiledb-py, tiledb-r, libtiledbvcf, tiledbvcf-py, libtiledbsoma,
tiledbsoma-py, tiledbsoma-r, tiledb-mariadb, tiledb-go, tiledb-cloud-py]
steps:
- run: echo "Success! Everything was built"
create-release:
name: Create a new release
if: github.ref_name == 'main' && github.repository_owner == 'TileDB-Inc' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write
env:
Expand All @@ -671,7 +671,7 @@ jobs:
echo "Release already exists: $the_date"
fi
upload-libtiledb:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, libtiledb]
permissions:
contents: write
Expand All @@ -691,7 +691,7 @@ jobs:
tar -C install-libtiledb -cvzf libtiledb-${the_date}.tar.gz ./
gh release upload ${the_date} libtiledb-${the_date}.tar.gz --clobber
upload-tiledb-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledb-py]
permissions:
contents: write
Expand All @@ -710,7 +710,7 @@ jobs:
unzip -l tiledb-*-linux_x86_64.whl
gh release upload ${the_date} tiledb-*-linux_x86_64.whl --clobber
upload-tiledb-r:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledb-r]
permissions:
contents: write
Expand All @@ -729,7 +729,7 @@ jobs:
tar --list -f tiledb_*_R_x86_64-pc-linux-gnu.tar.gz
gh release upload ${the_date} tiledb_*_R_x86_64-pc-linux-gnu.tar.gz --clobber
upload-libtiledbvcf:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, libtiledbvcf]
permissions:
contents: write
Expand All @@ -749,7 +749,7 @@ jobs:
tar -C install-libtiledbvcf -cvzf libtiledbvcf-${the_date}.tar.gz ./
gh release upload ${the_date} libtiledbvcf-${the_date}.tar.gz --clobber
upload-tiledbvcf-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledbvcf-py]
permissions:
contents: write
Expand All @@ -768,7 +768,7 @@ jobs:
unzip -l tiledbvcf-*-linux_x86_64.whl
gh release upload ${the_date} tiledbvcf-*-linux_x86_64.whl --clobber
upload-libtiledbsoma:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, libtiledbsoma]
permissions:
contents: write
Expand All @@ -788,7 +788,7 @@ jobs:
tar -C install-libtiledbsoma -cvzf libtiledbsoma-${the_date}.tar.gz ./
gh release upload ${the_date} libtiledbsoma-${the_date}.tar.gz --clobber
upload-tiledbsoma-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledbsoma-py]
permissions:
contents: write
Expand All @@ -807,7 +807,7 @@ jobs:
unzip -l tiledbsoma-*-linux_x86_64.whl
gh release upload ${the_date} tiledbsoma-*-linux_x86_64.whl --clobber
upload-tiledbsoma-r:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledbsoma-r]
permissions:
contents: write
Expand All @@ -826,7 +826,7 @@ jobs:
tar --list -f tiledbsoma_*_R_x86_64-pc-linux-gnu.tar.gz
gh release upload ${the_date} tiledbsoma_*_R_x86_64-pc-linux-gnu.tar.gz --clobber
upload-tiledb-cloud-py:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [create-release, tiledb-cloud-py]
permissions:
contents: write
Expand All @@ -847,7 +847,7 @@ jobs:
issue:
permissions:
issues: write
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [build-all]
if: ( failure() || cancelled() ) && github.repository_owner == 'TileDB-Inc' && github.event_name == 'schedule'
steps:
Expand Down

0 comments on commit 9a5c1fd

Please sign in to comment.