From ee27ad6dd24d3ef32652c967f99f0476b4ea9dbc Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:59:33 +0900 Subject: [PATCH 1/7] ci test From 86868731418dc89d45c776b57da0bc7ae49281b4 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:01:54 +0900 Subject: [PATCH 2/7] update checkout action --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60a3b470..9cd48c34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: os: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup (macOS) if: matrix.name == 'clang-macOS' From 99ba157cbd33b04c89ec842378df47d414d30092 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:13:16 +0900 Subject: [PATCH 3/7] checkout manually for Ubuntu 18.04 --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cd48c34..8d848f16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,16 @@ jobs: steps: - uses: actions/checkout@v4 + if: matrix.name != 'gcc-6' + + - name: Checkout (Ubuntu 18.04) + if: matrix.name == 'gcc-6' + run: | + apt-get update + apt-get install -y git + git config --global --add safe.directory '*' + git clone https://github.com/hyrise/sql-parser . + git checkout $GITHUB_HEAD_REF - name: Setup (macOS) if: matrix.name == 'clang-macOS' From 07ca878da4f554d40f1bec959821daf0350a72f9 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Thu, 25 Jul 2024 21:34:48 +0900 Subject: [PATCH 4/7] add comment --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d848f16..8129db7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,11 +47,14 @@ jobs: os: macos-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 if: matrix.name != 'gcc-6' - name: Checkout (Ubuntu 18.04) if: matrix.name == 'gcc-6' + # Recent versions of Github's checkout action do not run on older Ubuntu versions because they use a too recent + # Node.js version. Thus, we have to checkout the code manually. run: | apt-get update apt-get install -y git From 158cd16f8c764c09b86f4d1ae17f8e143af98346 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Thu, 25 Jul 2024 21:40:43 +0900 Subject: [PATCH 5/7] print branch --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8129db7a..f1aed67b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,7 @@ jobs: apt-get install -y git git config --global --add safe.directory '*' git clone https://github.com/hyrise/sql-parser . + echo "checkout ${GITHUB_HEAD_REF}" git checkout $GITHUB_HEAD_REF - name: Setup (macOS) From 7684c25616af0e7f1ade25fb2e410cdfbd423368 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Thu, 25 Jul 2024 21:57:27 +0900 Subject: [PATCH 6/7] even more environment variables --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1aed67b..24ee295b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: apt-get update apt-get install -y git git config --global --add safe.directory '*' - git clone https://github.com/hyrise/sql-parser . + git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" . echo "checkout ${GITHUB_HEAD_REF}" git checkout $GITHUB_HEAD_REF From 5def82c87c4605321ca4ec6573072dbdfc1d6a61 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Fri, 26 Jul 2024 08:33:58 +0900 Subject: [PATCH 7/7] remove checkout message --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24ee295b..c6741087 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,6 @@ jobs: apt-get install -y git git config --global --add safe.directory '*' git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" . - echo "checkout ${GITHUB_HEAD_REF}" git checkout $GITHUB_HEAD_REF - name: Setup (macOS)