diff --git a/.github/workflows/c.yaml b/.github/workflows/c.yaml index ce95541b7d..0e40c9daab 100644 --- a/.github/workflows/c.yaml +++ b/.github/workflows/c.yaml @@ -14,7 +14,7 @@ on: jobs: coverage: name: Code Coverage - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: @@ -52,18 +52,27 @@ jobs: { build_type: "Debug", compiler: { c: "gcc-6", cxx: "g++-6" }, build_shared_libraries: false } ] name: "Ubuntu 18.04 (Build: ${{ matrix.build_type }}, Compilers: ${{ matrix.compiler.c }}/${{ matrix.compiler.cxx }}, Shared Library: ${{ matrix.build_shared_libraries }})" - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + container: ubuntu:18.04 steps: + - name: Setup + run: | + apt-get -qq update + apt-get -qq install software-properties-common + add-apt-repository ppa:git-core/ppa -y + apt-get -qq install wget git libeigen3-dev libserialport-dev ${{ matrix.compiler.package }} + + - name: debug + run: | + wget -O - https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.sh | bash + cmake --version + cmake + - uses: actions/checkout@v2 with: submodules: recursive fetch-depth: 0 - - - name: Setup - run: | - sudo apt-get -qq update - sudo apt-get -qq install libeigen3-dev libserialport-dev ${{ matrix.compiler.package }} - + - name: Configure run: | cmake -S c -B build \ @@ -128,7 +137,7 @@ jobs: big-endian: name: Test Big Endian - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/haskell.yaml b/.github/workflows/haskell.yaml index 002ed5d3a1..0cad6f823e 100644 --- a/.github/workflows/haskell.yaml +++ b/.github/workflows/haskell.yaml @@ -14,7 +14,7 @@ on: jobs: build: name: Build - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/java.yaml b/.github/workflows/java.yaml index a66beaf713..986b45f568 100644 --- a/.github/workflows/java.yaml +++ b/.github/workflows/java.yaml @@ -14,7 +14,7 @@ on: jobs: tests-java-1_8: name: Test - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/javascript.yaml b/.github/workflows/javascript.yaml index b2d5de4392..f65fc10143 100644 --- a/.github/workflows/javascript.yaml +++ b/.github/workflows/javascript.yaml @@ -17,7 +17,7 @@ on: jobs: coverage: name: Test - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index bf4cbb5845..f950159a59 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -62,7 +62,7 @@ jobs: strategy: matrix: os: - - ubuntu-18.04 + - ubuntu-22.04 - macos-12 - windows-2022 runs-on: ${{ matrix.os }}