From 30043f8a67f4c05647fb24600dad065c46867927 Mon Sep 17 00:00:00 2001 From: Luke Valenty Date: Tue, 26 Sep 2023 20:33:54 -0700 Subject: [PATCH 1/3] try using intel runners --- .github/workflows/asciidoctor-ghpages.yml | 6 +++--- .github/workflows/unit_tests.yml | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/asciidoctor-ghpages.yml b/.github/workflows/asciidoctor-ghpages.yml index 2c8d4ba..f42f494 100644 --- a/.github/workflows/asciidoctor-ghpages.yml +++ b/.github/workflows/asciidoctor-ghpages.yml @@ -11,7 +11,7 @@ env: jobs: configure: name: Configure Github Pages Publishing - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest outputs: enable_publish: ${{ steps.check.outputs.isfork == 'NO' }} steps: @@ -29,7 +29,7 @@ jobs: build: needs: configure name: Build Documentation - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest steps: - name: Checkout source uses: actions/checkout@v4 @@ -65,7 +65,7 @@ jobs: environment: name: github-pages url: $${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest steps: - name: Deploy to github pages id: deployment diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 6656723..63dfd25 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -21,7 +21,7 @@ concurrency: jobs: build_and_test: - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest strategy: fail-fast: false matrix: @@ -123,7 +123,7 @@ jobs: run: ctest -j $(nproc) -C ${{matrix.build_type}} quality_checks_pass: - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest steps: - uses: actions/checkout@v4 @@ -134,8 +134,8 @@ jobs: - name: Install cmake-format run: | - pip3 install --upgrade pip - pip3 install pyyaml cmake-format + sudo pip3 install --upgrade pip + sudo pip3 install pyyaml cmake-format - name: Configure CMake env: @@ -147,7 +147,7 @@ jobs: run: cmake --build ${{github.workspace}}/build -t quality sanitize: - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest strategy: fail-fast: false matrix: @@ -172,7 +172,7 @@ jobs: run: cmake --build ${{github.workspace}}/build -t unit_tests valgrind: - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest steps: - uses: actions/checkout@v4 @@ -222,7 +222,7 @@ jobs: test $FAILSIZE = "0" merge_ok: - runs-on: ubuntu-22.04 + runs-on: intel-ubuntu-latest needs: [build_and_test, quality_checks_pass, sanitize, valgrind] steps: - name: Enable merge From 0b7da113abe54a64d0564c5abc5e366e72e51ee8 Mon Sep 17 00:00:00 2001 From: Luke Valenty Date: Wed, 27 Sep 2023 15:37:55 -0700 Subject: [PATCH 2/3] use intel-ubuntu-22.04 --- .github/workflows/asciidoctor-ghpages.yml | 6 +++--- .github/workflows/unit_tests.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/asciidoctor-ghpages.yml b/.github/workflows/asciidoctor-ghpages.yml index f42f494..87116c8 100644 --- a/.github/workflows/asciidoctor-ghpages.yml +++ b/.github/workflows/asciidoctor-ghpages.yml @@ -11,7 +11,7 @@ env: jobs: configure: name: Configure Github Pages Publishing - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 outputs: enable_publish: ${{ steps.check.outputs.isfork == 'NO' }} steps: @@ -29,7 +29,7 @@ jobs: build: needs: configure name: Build Documentation - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 steps: - name: Checkout source uses: actions/checkout@v4 @@ -65,7 +65,7 @@ jobs: environment: name: github-pages url: $${{ steps.deployment.outputs.page_url }} - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 steps: - name: Deploy to github pages id: deployment diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 63dfd25..9042f48 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -21,7 +21,7 @@ concurrency: jobs: build_and_test: - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 strategy: fail-fast: false matrix: @@ -123,7 +123,7 @@ jobs: run: ctest -j $(nproc) -C ${{matrix.build_type}} quality_checks_pass: - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -147,7 +147,7 @@ jobs: run: cmake --build ${{github.workspace}}/build -t quality sanitize: - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 strategy: fail-fast: false matrix: @@ -172,7 +172,7 @@ jobs: run: cmake --build ${{github.workspace}}/build -t unit_tests valgrind: - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -222,7 +222,7 @@ jobs: test $FAILSIZE = "0" merge_ok: - runs-on: intel-ubuntu-latest + runs-on: intel-ubuntu-22.04 needs: [build_and_test, quality_checks_pass, sanitize, valgrind] steps: - name: Enable merge From 718c7ce65a8430ae338f21d8126f6c22096424fb Mon Sep 17 00:00:00 2001 From: Luke Valenty Date: Wed, 27 Sep 2023 19:43:48 -0700 Subject: [PATCH 3/3] install pip3 --- .github/workflows/unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 9042f48..485ec10 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -130,7 +130,7 @@ jobs: - name: Install build tools run: | wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh ${{env.DEFAULT_LLVM_VERSION}} - sudo apt install -y ninja-build clang-tidy-${{env.DEFAULT_LLVM_VERSION}} clang-format-${{env.DEFAULT_LLVM_VERSION}} + sudo apt install -y python3-pip ninja-build clang-tidy-${{env.DEFAULT_LLVM_VERSION}} clang-format-${{env.DEFAULT_LLVM_VERSION}} - name: Install cmake-format run: |