Skip to content

strings: add Builder.write_u_decimal and write_decimal JS-backend parity #6822

strings: add Builder.write_u_decimal and write_decimal JS-backend parity

strings: add Builder.write_u_decimal and write_decimal JS-backend parity #6822

Workflow file for this run

name: CI OpenBSD
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- '**.md'
- '**.yml'
- 'cmd/tools/**'
- '!**/openbsd_ci.yml'
- '!ci/openbsd_ci.vsh'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- 'cmd/tools/**'
- '!**/openbsd_ci.yml'
- '!ci/openbsd_ci.vsh'
- '!cmd/tools/builders/**.v'
### See https://github.com/cross-platform-actions/action
### for a description of the used fields here
jobs:
tcc-openbsd:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- name: Start OpenBSD VM for tcc
id: vm-openbsd-tcc
uses: cross-platform-actions/action@v1.2.0
with:
operating_system: openbsd
version: '7.8'
memory: 4G
sync_files: runner-to-vm
- name: Tests on OpenBSD with tcc
id: tests-openbsd-tcc
shell: cpa.sh {0}
run: |
sudo pkg_add git sqlite3 gmake boehm-gc libiconv
# Install packages needed to build examples
sudo pkg_add mariadb-client postgresql-client
# Mandatory: hostname not set in VM => some tests fail
sudo hostname -s openbsd-ci
echo "::group::OS infos"
uname -a
echo "::endgroup::"
echo "::group::Build V"
git config --global --add safe.directory .
gmake
sudo ./v symlink
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
export VFLAGS='-cc tcc -no-retry-compilation'
echo "::endgroup::"
./v run ci/openbsd_ci.vsh all
clang-openbsd:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- name: Start OpenBSD VM for clang
id: vm-openbsd-clang
uses: cross-platform-actions/action@v1.2.0
with:
operating_system: openbsd
version: '7.8'
memory: 4G
sync_files: runner-to-vm
- name: Tests on OpenBSD with clang
id: tests-openbsd-clang
shell: cpa.sh {0}
run: |
sudo pkg_add git sqlite3 gmake boehm-gc libiconv
# Install packages needed to build examples
sudo pkg_add mariadb-client postgresql-client
# Mandatory: hostname not set in VM => some tests fail
sudo hostname -s openbsd-ci
echo "::group::OS infos"
uname -a
clang -v
echo "::endgroup::"
echo "::group::Build V"
git config --global --add safe.directory .
gmake
sudo ./v symlink
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
export VFLAGS='-cc clang'
echo "::endgroup::"
./v run ci/openbsd_ci.vsh all