From 583f2d8209bcc6792a4aa0372b08b3cc75855ce6 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Thu, 22 Dec 2022 20:25:12 +0500 Subject: [PATCH] Set timezone for chrono tests Signed-off-by: Vladislav Shchapov --- .github/workflows/linux.yml | 3 +++ .github/workflows/macos.yml | 3 +++ .github/workflows/windows.yml | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6818eafa..4d0acb14 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -59,6 +59,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set timezone + run: sudo timedatectl set-timezone 'Asia/Yekaterinburg' + - name: Add repositories for older GCC run: | # Bellow two repos provide GCC 4.8, 5.5 and 6.4 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e76324d8..475dc77f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -18,6 +18,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set timezone + run: sudo systemsetup -settimezone 'Asia/Yekaterinburg' + - name: Create Build Environment run: cmake -E make_directory ${{runner.workspace}}/build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9bef6e8b..d48b13d0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -43,6 +43,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set timezone + run: tzutil /s "Ekaterinburg Standard Time" + - name: Create Build Environment run: cmake -E make_directory ${{runner.workspace}}/build @@ -77,6 +80,9 @@ jobs: matrix: sys: [ mingw64, ucrt64 ] steps: + - name: Set timezone + run: tzutil /s "Ekaterinburg Standard Time" + shell: cmd - uses: msys2/setup-msys2@v2 with: release: false