Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try ubuntu 24.04 in CI #2527

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/branchNameValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
valid-branch-name:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- develop
- dependabot/*
- fix/try-ubuntu24-ci
schedule:
- cron: '21 2 * * *'
workflow_call:
Expand All @@ -30,7 +31,7 @@ jobs:
build:
name: Build

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:

Expand All @@ -56,7 +57,7 @@ jobs:
uses: tj-actions/changed-files@v45
with:
files: |
docker/AntaresDeps
docker/AntaresDeps

- name: Docker file push
id: docker_push
Expand Down Expand Up @@ -103,13 +104,13 @@ jobs:
--build-arg="VCPKG_CACHE_DIR=./vcpkg_cache" \
--build-arg CCACHE_DIR=./.ccache \
--build-arg CCACHE_KEY=centos7-on-${{ runner.os }} \
-f ${{ env.DOCKERFILE }} .
-f ${{ env.DOCKERFILE }} .


- name: create a container without starting it && retrieve the .tgz
run: |
container_id=$(docker create antares:centos7)
docker cp $container_id:/workspace/Antares_Simulator/_build/archive archive
docker cp $container_id:/workspace/Antares_Simulator/_build/archive archive
docker cp $container_id:/workspace/vcpkg_cache ${{ env.VCPKG_CACHE_DIR }}
docker cp $container_id:/workspace/.ccache/. .ccache
ls -la .ccache
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on:
branches:
- 'docker/*'
- dependabot/*
- fix/try-ubuntu24-ci

jobs:
docker_publish:
runs-on: ubuntu-latest

runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/oracle8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- develop
- dependabot/*
- fix/try-ubuntu24-ci

schedule:
- cron: '21 2 * * *'
Expand All @@ -32,7 +33,7 @@ jobs:
env:
ORTOOLS_DIR: ${{ github.workspace }}/or-tools

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
container: 'oraclelinux:8'

steps:
Expand Down