Skip to content

cgen: update to tcc version 0.9.28rc 2024-02-05 HEAD@105d70f7 #2908

cgen: update to tcc version 0.9.28rc 2024-02-05 HEAD@105d70f7

cgen: update to tcc version 0.9.28rc 2024-02-05 HEAD@105d70f7 #2908

Workflow file for this run

name: Time CI
on:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/time_ci.yml'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/time_ci.yml'
concurrency:
group: time-ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
test-time-linux:
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build V
run: make
- name: Test time functions in a timezone UTC-12
run: TZ=Etc/GMT+12 ./v test vlib/time/
- name: Test time functions in a timezone UTC-3
run: TZ=Etc/GMT+3 ./v test vlib/time/
- name: Test time functions in a timezone UTC+3
run: TZ=Etc/GMT-3 ./v test vlib/time/
- name: Test time functions in a timezone UTC+12
run: TZ=Etc/GMT-12 ./v test vlib/time/
- name: Test in a timezone using daylight saving (Europe/Paris)
run: TZ=Europe/Paris ./v test vlib/time/
test-time-macos:
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Build V
run: make
- name: Test time functions in a timezone UTC-12
run: TZ=Etc/GMT+12 ./v test vlib/time/
- name: Test time functions in a timezone UTC-3
run: TZ=Etc/GMT+3 ./v test vlib/time/
- name: Test time functions in a timezone UTC+3
run: TZ=Etc/GMT-3 ./v test vlib/time/
- name: Test time functions in a timezone UTC+12
run: TZ=Etc/GMT-12 ./v test vlib/time/
- name: Test in a timezone using daylight saving (Europe/Paris)
run: TZ=Europe/Paris ./v test vlib/time/
test-time-windows:
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Build V
run: .\make.bat
- name: Test time functions in a timezone UTC-12
run: tzutil /s "Dateline Standard Time" && ./v test vlib/time/
- name: Test time functions in a timezone UTC-3
run: tzutil /s "Greenland Standard Time" && ./v test vlib/time/
- name: Test time functions in a timezone UTC+3
run: tzutil /s "Russian Standard Time" && ./v test vlib/time/
- name: Test time functions in a timezone UTC+12
run: tzutil /s "New Zealand Standard Time" && ./v test vlib/time/
- name: Test in a timezone using daylight saving (Europe/Paris)
run: tzutil /s "W. Europe Standard Time" && ./v test vlib/time/