From ab82fbdd52d9dedf5071981b7dff804e0dc49ca1 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 24 Jan 2025 23:59:58 +0100 Subject: [PATCH 1/4] Peek --- .github/actions/setup-windows/action.yml | 6 +++--- .github/workflows/push.yml | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-windows/action.yml b/.github/actions/setup-windows/action.yml index 4786242455a1a..fc36205c3fe8a 100644 --- a/.github/actions/setup-windows/action.yml +++ b/.github/actions/setup-windows/action.yml @@ -3,10 +3,10 @@ runs: using: composite steps: - name: Setup MySQL - shell: pwsh + shell: cmd run: | - choco install mysql -y --no-progress --params="/port:3306" - mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" + path + dir "C:\Program Files" - name: Setup MSSQL shell: pwsh run: | diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b92a55b58b87d..60acd6834e9f3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -41,7 +41,7 @@ env: CXX: ccache g++ jobs: LINUX_X64: - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' + if: false services: mysql: image: mysql:8.3 @@ -137,7 +137,7 @@ jobs: if: ${{ !matrix.asan }} uses: ./.github/actions/verify-generated-files LINUX_X32: - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' + if: false name: LINUX_X32_DEBUG_ZTS runs-on: ubuntu-latest timeout-minutes: 50 @@ -193,7 +193,7 @@ jobs: -d zend_extension=opcache.so -d opcache.enable_cli=1 MACOS_DEBUG_NTS: - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' + if: false strategy: fail-fast: false matrix: @@ -262,7 +262,7 @@ jobs: run: .github/scripts/windows/test.bat BENCHMARKING: name: BENCHMARKING - if: github.repository == 'php/php-src' || github.event_name == 'pull_request' + if: false runs-on: ubuntu-24.04 timeout-minutes: 50 steps: @@ -368,6 +368,7 @@ jobs: path: ${{ github.workspace }}/benchmark/profiles retention-days: 30 FREEBSD: + if: false name: FREEBSD runs-on: ubuntu-latest steps: From 58b8383d3916b713ce38e9d5c2947d070a363868 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 25 Jan 2025 00:08:03 +0100 Subject: [PATCH 2/4] try --- .github/actions/setup-windows/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-windows/action.yml b/.github/actions/setup-windows/action.yml index fc36205c3fe8a..8ce6806301b90 100644 --- a/.github/actions/setup-windows/action.yml +++ b/.github/actions/setup-windows/action.yml @@ -5,8 +5,8 @@ runs: - name: Setup MySQL shell: cmd run: | - path - dir "C:\Program Files" + net start + mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" - name: Setup MSSQL shell: pwsh run: | From d5c7b9bc689db7d8d8995bb5105a006aea49ccbc Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 25 Jan 2025 00:11:43 +0100 Subject: [PATCH 3/4] fix --- .github/actions/setup-windows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-windows/action.yml b/.github/actions/setup-windows/action.yml index 8ce6806301b90..cdc72e8b1a447 100644 --- a/.github/actions/setup-windows/action.yml +++ b/.github/actions/setup-windows/action.yml @@ -5,7 +5,7 @@ runs: - name: Setup MySQL shell: cmd run: | - net start + net start MySQL mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" - name: Setup MSSQL shell: pwsh From 69243b2f7166532cae4a9845618b195d61d8f02b Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 25 Jan 2025 00:19:32 +0100 Subject: [PATCH 4/4] fox --- .github/actions/setup-windows/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-windows/action.yml b/.github/actions/setup-windows/action.yml index cdc72e8b1a447..b8af659203ecb 100644 --- a/.github/actions/setup-windows/action.yml +++ b/.github/actions/setup-windows/action.yml @@ -5,8 +5,11 @@ runs: - name: Setup MySQL shell: cmd run: | + mysqld --initialize-insecure + mysqld --install net start MySQL - mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" + mysql -u root -e "SELECT VERSION()" + mysql --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" - name: Setup MSSQL shell: pwsh run: |